aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2012-03-05 09:49:26 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-03-19 13:26:16 -0400
commitb47acf2a161b2f3001bf50dfa740477db6d32327 (patch)
treef2172b516514ef01f936c8d28e002c6eaff725be /drivers
parentabfac0b64876294aaf1aab01df56041a3995a91f (diff)
[media] staging: Fix comments and some typos in staging/media/*
linux-next: I like to spend some time reading code, in doing so I have found some typos in some of the comments. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/media/Kconfig2
-rw-r--r--drivers/staging/media/as102/as102_drv.c2
-rw-r--r--drivers/staging/media/as102/as102_fe.c4
-rw-r--r--drivers/staging/media/go7007/go7007-v4l2.c8
-rw-r--r--drivers/staging/media/lirc/lirc_serial.c2
-rw-r--r--drivers/staging/media/solo6x10/Kconfig2
6 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/media/Kconfig b/drivers/staging/media/Kconfig
index 7e5caa39ed3f..4f4b7d6281a7 100644
--- a/drivers/staging/media/Kconfig
+++ b/drivers/staging/media/Kconfig
@@ -6,7 +6,7 @@ menuconfig STAGING_MEDIA
6 don't have the "normal" Linux kernel quality level. 6 don't have the "normal" Linux kernel quality level.
7 Most of them don't follow properly the V4L, DVB and/or RC API's, 7 Most of them don't follow properly the V4L, DVB and/or RC API's,
8 so, they won't likely work fine with the existing applications. 8 so, they won't likely work fine with the existing applications.
9 That also means that, one fixed, their API's will change to match 9 That also means that, once fixed, their API's will change to match
10 the existing ones. 10 the existing ones.
11 11
12 If you wish to work on these drivers, to help improve them, or 12 If you wish to work on these drivers, to help improve them, or
diff --git a/drivers/staging/media/as102/as102_drv.c b/drivers/staging/media/as102/as102_drv.c
index aae0505a36c4..ea4f992de235 100644
--- a/drivers/staging/media/as102/as102_drv.c
+++ b/drivers/staging/media/as102/as102_drv.c
@@ -27,7 +27,7 @@
27#include <linux/uaccess.h> 27#include <linux/uaccess.h>
28#include <linux/usb.h> 28#include <linux/usb.h>
29 29
30/* header file for Usb device driver*/ 30/* header file for usb device driver*/
31#include "as102_drv.h" 31#include "as102_drv.h"
32#include "as102_fw.h" 32#include "as102_fw.h"
33#include "dvbdev.h" 33#include "dvbdev.h"
diff --git a/drivers/staging/media/as102/as102_fe.c b/drivers/staging/media/as102/as102_fe.c
index 043c520183d7..5917657b9d0f 100644
--- a/drivers/staging/media/as102/as102_fe.c
+++ b/drivers/staging/media/as102/as102_fe.c
@@ -337,7 +337,7 @@ int as102_dvb_register_fe(struct as102_dev_t *as102_dev,
337 strncpy(dvb_fe->ops.info.name, as102_dev->name, 337 strncpy(dvb_fe->ops.info.name, as102_dev->name,
338 sizeof(dvb_fe->ops.info.name)); 338 sizeof(dvb_fe->ops.info.name));
339 339
340 /* register dbvb frontend */ 340 /* register dvb frontend */
341 errno = dvb_register_frontend(dvb_adap, dvb_fe); 341 errno = dvb_register_frontend(dvb_adap, dvb_fe);
342 if (errno == 0) 342 if (errno == 0)
343 dvb_fe->tuner_priv = as102_dev; 343 dvb_fe->tuner_priv = as102_dev;
@@ -349,7 +349,7 @@ static void as10x_fe_copy_tps_parameters(struct dtv_frontend_properties *fe_tps,
349 struct as10x_tps *as10x_tps) 349 struct as10x_tps *as10x_tps)
350{ 350{
351 351
352 /* extract consteallation */ 352 /* extract constellation */
353 switch (as10x_tps->modulation) { 353 switch (as10x_tps->modulation) {
354 case CONST_QPSK: 354 case CONST_QPSK:
355 fe_tps->modulation = QPSK; 355 fe_tps->modulation = QPSK;
diff --git a/drivers/staging/media/go7007/go7007-v4l2.c b/drivers/staging/media/go7007/go7007-v4l2.c
index 2b27d8da70a2..f91658670e34 100644
--- a/drivers/staging/media/go7007/go7007-v4l2.c
+++ b/drivers/staging/media/go7007/go7007-v4l2.c
@@ -1050,15 +1050,15 @@ static int vidioc_s_parm(struct file *filp, void *priv,
1050 return 0; 1050 return 0;
1051} 1051}
1052 1052
1053/* VIDIOC_ENUMSTD on go7007 were used for enumberating the supported fps and 1053/* VIDIOC_ENUMSTD on go7007 were used for enumerating the supported fps and
1054 its resolution, when the device is not connected to TV. 1054 its resolution, when the device is not connected to TV.
1055 This were an API abuse, probably used by the lack of specific IOCTL's to 1055 This is were an API abuse, probably used by the lack of specific IOCTL's to
1056 enumberate it, by the time the driver were written. 1056 enumerate it, by the time the driver was written.
1057 1057
1058 However, since kernel 2.6.19, two new ioctls (VIDIOC_ENUM_FRAMEINTERVALS 1058 However, since kernel 2.6.19, two new ioctls (VIDIOC_ENUM_FRAMEINTERVALS
1059 and VIDIOC_ENUM_FRAMESIZES) were added for this purpose. 1059 and VIDIOC_ENUM_FRAMESIZES) were added for this purpose.
1060 1060
1061 The two functions bellow implements the newer ioctls 1061 The two functions below implement the newer ioctls
1062*/ 1062*/
1063static int vidioc_enum_framesizes(struct file *filp, void *priv, 1063static int vidioc_enum_framesizes(struct file *filp, void *priv,
1064 struct v4l2_frmsizeenum *fsize) 1064 struct v4l2_frmsizeenum *fsize)
diff --git a/drivers/staging/media/lirc/lirc_serial.c b/drivers/staging/media/lirc/lirc_serial.c
index 8dd8897ad860..97352cf6bd98 100644
--- a/drivers/staging/media/lirc/lirc_serial.c
+++ b/drivers/staging/media/lirc/lirc_serial.c
@@ -1282,7 +1282,7 @@ MODULE_PARM_DESC(iommap, "physical base for memory mapped I/O"
1282/* 1282/*
1283 * some architectures (e.g. intel xscale) align the 8bit serial registers 1283 * some architectures (e.g. intel xscale) align the 8bit serial registers
1284 * on 32bit word boundaries. 1284 * on 32bit word boundaries.
1285 * See linux-kernel/serial/8250.c serial_in()/out() 1285 * See linux-kernel/drivers/tty/serial/8250/8250.c serial_in()/out()
1286 */ 1286 */
1287module_param(ioshift, int, S_IRUGO); 1287module_param(ioshift, int, S_IRUGO);
1288MODULE_PARM_DESC(ioshift, "shift I/O register offset (0 = no shift)"); 1288MODULE_PARM_DESC(ioshift, "shift I/O register offset (0 = no shift)");
diff --git a/drivers/staging/media/solo6x10/Kconfig b/drivers/staging/media/solo6x10/Kconfig
index 03dcac4ea4d0..63352de5eabf 100644
--- a/drivers/staging/media/solo6x10/Kconfig
+++ b/drivers/staging/media/solo6x10/Kconfig
@@ -5,4 +5,4 @@ config SOLO6X10
5 select SND_PCM 5 select SND_PCM
6 ---help--- 6 ---help---
7 This driver supports the Softlogic based MPEG-4 and h.264 codec 7 This driver supports the Softlogic based MPEG-4 and h.264 codec
8 codec cards. 8 cards.