Skip to content

Commit

Permalink
staging, sep: Fix typo in sep
Browse files Browse the repository at this point in the history
Correct spelling typos in staging/sep.

Signed-off-by: Masanari Iida <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
standby24x7 authored and gregkh committed Apr 24, 2012
1 parent cd01712 commit bb75f7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/sep/sep_driver_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@
#define SEP_DRIVER_MIN_DATA_SIZE_PER_TABLE 16

/* flag that signifies tah the lock is
currently held by the proccess (struct file) */
currently held by the process (struct file) */
#define SEP_DRIVER_OWN_LOCK_FLAG 1

/* flag that signifies tah the lock is currently NOT
held by the proccess (struct file) */
held by the process (struct file) */
#define SEP_DRIVER_DISOWN_LOCK_FLAG 0

/* indicates whether driver has mapped/unmapped shared area */
Expand Down Expand Up @@ -280,7 +280,7 @@ held by the proccess (struct file) */

/*
* Used to limit number of concurrent processes
* allowed to allocte dynamic buffers in fastcall
* allowed to allocate dynamic buffers in fastcall
* interface.
*/
#define SEP_DOUBLEBUF_USERS_LIMIT 3
Expand Down
12 changes: 6 additions & 6 deletions drivers/staging/sep/sep_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ static unsigned int sep_poll(struct file *filp, poll_table *wait)
"[PID%d] poll: send_ct is %lx reply ct is %lx\n",
current->pid, sep->send_ct, sep->reply_ct);

/* Check if error occured during poll */
/* Check if error occurred during poll */
retval2 = sep_read_reg(sep, HW_HOST_SEP_HOST_GPR3_REG_ADDR);
if ((retval2 != 0x0) && (retval2 != 0x8)) {
dev_dbg(&sep->pdev->dev, "[PID%d] poll; poll error %x\n",
Expand Down Expand Up @@ -1160,7 +1160,7 @@ static int sep_lock_kernel_pages(struct sep_device *sep,

/* Put mapped kernel sg into kernel resource array */

/* Set output params acording to the in_out flag */
/* Set output params according to the in_out flag */
if (in_out_flag == SEP_DRIVER_IN_FLAG) {
*lli_array_ptr = lli_array;
dma_ctx->dma_res_arr[dma_ctx->nr_dcb_creat].in_num_pages =
Expand Down Expand Up @@ -1358,7 +1358,7 @@ static int sep_lock_user_pages(struct sep_device *sep,
lli_array[num_pages - 1].block_size);
}

/* Set output params acording to the in_out flag */
/* Set output params according to the in_out flag */
if (in_out_flag == SEP_DRIVER_IN_FLAG) {
*lli_array_ptr = lli_array;
dma_ctx->dma_res_arr[dma_ctx->nr_dcb_creat].in_num_pages =
Expand Down Expand Up @@ -2038,7 +2038,7 @@ static int sep_prepare_input_dma_table(struct sep_device *sep,

/*
* If this is not the last table -
* then allign it to the block size
* then align it to the block size
*/
if (!last_table_flag)
table_data_size =
Expand Down Expand Up @@ -3033,7 +3033,7 @@ static int sep_free_dcb_handler(struct sep_device *sep,
* @cmd: command
* @arg: pointer to argument structure
*
* Implement the ioctl methods availble on the SEP device.
* Implement the ioctl methods available on the SEP device.
*/
static long sep_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
{
Expand Down Expand Up @@ -4460,7 +4460,7 @@ static int sep_pm_runtime_suspend(struct device *dev)
* @sep_pm_runtime_resume: resume- no communication with cpu & main memory
* @sep_pm_runtime_suspend: suspend- no communication with cpu & main memory
* @sep_pci_suspend: suspend - main memory is still ON
* @sep_pci_resume: resume - main meory is still ON
* @sep_pci_resume: resume - main memory is still ON
*/
static const struct dev_pm_ops sep_pm = {
.runtime_resume = sep_pm_runtime_resume,
Expand Down

0 comments on commit bb75f7d

Please sign in to comment.