aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/intel_sst/intel_sst_app_interface.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-30 21:57:33 -0400
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-31 10:26:23 -0400
commit25985edcedea6396277003854657b5f3cb31a628 (patch)
treef026e810210a2ee7290caeb737c23cb6472b7c38 /drivers/staging/intel_sst/intel_sst_app_interface.c
parent6aba74f2791287ec407e0f92487a725a25908067 (diff)
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Diffstat (limited to 'drivers/staging/intel_sst/intel_sst_app_interface.c')
-rw-r--r--drivers/staging/intel_sst/intel_sst_app_interface.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/intel_sst/intel_sst_app_interface.c b/drivers/staging/intel_sst/intel_sst_app_interface.c
index a367991d560..1d0621260ea 100644
--- a/drivers/staging/intel_sst/intel_sst_app_interface.c
+++ b/drivers/staging/intel_sst/intel_sst_app_interface.c
@@ -236,7 +236,7 @@ int intel_sst_mmap(struct file *file_ptr, struct vm_area_struct *vma)
236 if (!sst_drv_ctx->mmap_mem) 236 if (!sst_drv_ctx->mmap_mem)
237 return -EIO; 237 return -EIO;
238 238
239 /* round it up to the page bondary */ 239 /* round it up to the page boundary */
240 /*mem_area = (void *)((((unsigned long)sst_drv_ctx->mmap_mem) 240 /*mem_area = (void *)((((unsigned long)sst_drv_ctx->mmap_mem)
241 + PAGE_SIZE - 1) & PAGE_MASK);*/ 241 + PAGE_SIZE - 1) & PAGE_MASK);*/
242 mem_area = (void *) PAGE_ALIGN((unsigned int) sst_drv_ctx->mmap_mem); 242 mem_area = (void *) PAGE_ALIGN((unsigned int) sst_drv_ctx->mmap_mem);
@@ -871,7 +871,7 @@ int sst_send_algo_ipc(struct ipc_post **msg)
871} 871}
872 872
873/** 873/**
874 * intel_sst_ioctl_dsp - recieves the device ioctl's 874 * intel_sst_ioctl_dsp - receives the device ioctl's
875 * 875 *
876 * @cmd:Ioctl cmd 876 * @cmd:Ioctl cmd
877 * @arg:data 877 * @arg:data
@@ -1067,7 +1067,7 @@ long intel_sst_ioctl(struct file *file_ptr, unsigned int cmd, unsigned long arg)
1067 retval = -EFAULT; 1067 retval = -EFAULT;
1068 break; 1068 break;
1069 } 1069 }
1070 pr_debug("SET_VOLUME recieved for %d!\n", 1070 pr_debug("SET_VOLUME received for %d!\n",
1071 set_vol.stream_id); 1071 set_vol.stream_id);
1072 if (minor == STREAM_MODULE && set_vol.stream_id == 0) { 1072 if (minor == STREAM_MODULE && set_vol.stream_id == 0) {
1073 pr_debug("invalid operation!\n"); 1073 pr_debug("invalid operation!\n");
@@ -1085,7 +1085,7 @@ long intel_sst_ioctl(struct file *file_ptr, unsigned int cmd, unsigned long arg)
1085 retval = -EFAULT; 1085 retval = -EFAULT;
1086 break; 1086 break;
1087 } 1087 }
1088 pr_debug("IOCTL_GET_VOLUME recieved for stream = %d!\n", 1088 pr_debug("IOCTL_GET_VOLUME received for stream = %d!\n",
1089 get_vol.stream_id); 1089 get_vol.stream_id);
1090 if (minor == STREAM_MODULE && get_vol.stream_id == 0) { 1090 if (minor == STREAM_MODULE && get_vol.stream_id == 0) {
1091 pr_debug("invalid operation!\n"); 1091 pr_debug("invalid operation!\n");
@@ -1117,7 +1117,7 @@ long intel_sst_ioctl(struct file *file_ptr, unsigned int cmd, unsigned long arg)
1117 retval = -EFAULT; 1117 retval = -EFAULT;
1118 break; 1118 break;
1119 } 1119 }
1120 pr_debug("SNDRV_SST_SET_VOLUME recieved for %d!\n", 1120 pr_debug("SNDRV_SST_SET_VOLUME received for %d!\n",
1121 set_mute.stream_id); 1121 set_mute.stream_id);
1122 if (minor == STREAM_MODULE && set_mute.stream_id == 0) { 1122 if (minor == STREAM_MODULE && set_mute.stream_id == 0) {
1123 retval = -EPERM; 1123 retval = -EPERM;
@@ -1153,7 +1153,7 @@ long intel_sst_ioctl(struct file *file_ptr, unsigned int cmd, unsigned long arg)
1153 case _IOC_NR(SNDRV_SST_MMAP_CAPTURE): { 1153 case _IOC_NR(SNDRV_SST_MMAP_CAPTURE): {
1154 struct snd_sst_mmap_buffs mmap_buf; 1154 struct snd_sst_mmap_buffs mmap_buf;
1155 1155
1156 pr_debug("SNDRV_SST_MMAP_PLAY/CAPTURE recieved!\n"); 1156 pr_debug("SNDRV_SST_MMAP_PLAY/CAPTURE received!\n");
1157 if (minor != STREAM_MODULE) { 1157 if (minor != STREAM_MODULE) {
1158 retval = -EBADRQC; 1158 retval = -EBADRQC;
1159 break; 1159 break;
@@ -1239,7 +1239,7 @@ long intel_sst_ioctl(struct file *file_ptr, unsigned int cmd, unsigned long arg)
1239 case _IOC_NR(SNDRV_SST_SET_TARGET_DEVICE): { 1239 case _IOC_NR(SNDRV_SST_SET_TARGET_DEVICE): {
1240 struct snd_sst_target_device target_device; 1240 struct snd_sst_target_device target_device;
1241 1241
1242 pr_debug("SET_TARGET_DEVICE recieved!\n"); 1242 pr_debug("SET_TARGET_DEVICE received!\n");
1243 if (copy_from_user(&target_device, (void __user *)arg, 1243 if (copy_from_user(&target_device, (void __user *)arg,
1244 sizeof(target_device))) { 1244 sizeof(target_device))) {
1245 retval = -EFAULT; 1245 retval = -EFAULT;
@@ -1256,7 +1256,7 @@ long intel_sst_ioctl(struct file *file_ptr, unsigned int cmd, unsigned long arg)
1256 case _IOC_NR(SNDRV_SST_DRIVER_INFO): { 1256 case _IOC_NR(SNDRV_SST_DRIVER_INFO): {
1257 struct snd_sst_driver_info info; 1257 struct snd_sst_driver_info info;
1258 1258
1259 pr_debug("SNDRV_SST_DRIVER_INFO recived\n"); 1259 pr_debug("SNDRV_SST_DRIVER_INFO received\n");
1260 info.version = SST_VERSION_NUM; 1260 info.version = SST_VERSION_NUM;
1261 /* hard coding, shud get sumhow later */ 1261 /* hard coding, shud get sumhow later */
1262 info.active_pcm_streams = sst_drv_ctx->stream_cnt - 1262 info.active_pcm_streams = sst_drv_ctx->stream_cnt -