Commit b47acf2a authored by Justin P. Mattock's avatar Justin P. Mattock Committed by Mauro Carvalho Chehab

[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: default avatarJustin P. Mattock <justinmattock@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent abfac0b6
...@@ -6,7 +6,7 @@ menuconfig STAGING_MEDIA ...@@ -6,7 +6,7 @@ menuconfig STAGING_MEDIA
don't have the "normal" Linux kernel quality level. don't have the "normal" Linux kernel quality level.
Most of them don't follow properly the V4L, DVB and/or RC API's, Most of them don't follow properly the V4L, DVB and/or RC API's,
so, they won't likely work fine with the existing applications. so, they won't likely work fine with the existing applications.
That also means that, one fixed, their API's will change to match That also means that, once fixed, their API's will change to match
the existing ones. the existing ones.
If you wish to work on these drivers, to help improve them, or If you wish to work on these drivers, to help improve them, or
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <linux/usb.h> #include <linux/usb.h>
/* header file for Usb device driver*/ /* header file for usb device driver*/
#include "as102_drv.h" #include "as102_drv.h"
#include "as102_fw.h" #include "as102_fw.h"
#include "dvbdev.h" #include "dvbdev.h"
......
...@@ -337,7 +337,7 @@ int as102_dvb_register_fe(struct as102_dev_t *as102_dev, ...@@ -337,7 +337,7 @@ int as102_dvb_register_fe(struct as102_dev_t *as102_dev,
strncpy(dvb_fe->ops.info.name, as102_dev->name, strncpy(dvb_fe->ops.info.name, as102_dev->name,
sizeof(dvb_fe->ops.info.name)); sizeof(dvb_fe->ops.info.name));
/* register dbvb frontend */ /* register dvb frontend */
errno = dvb_register_frontend(dvb_adap, dvb_fe); errno = dvb_register_frontend(dvb_adap, dvb_fe);
if (errno == 0) if (errno == 0)
dvb_fe->tuner_priv = as102_dev; dvb_fe->tuner_priv = as102_dev;
...@@ -349,7 +349,7 @@ static void as10x_fe_copy_tps_parameters(struct dtv_frontend_properties *fe_tps, ...@@ -349,7 +349,7 @@ static void as10x_fe_copy_tps_parameters(struct dtv_frontend_properties *fe_tps,
struct as10x_tps *as10x_tps) struct as10x_tps *as10x_tps)
{ {
/* extract consteallation */ /* extract constellation */
switch (as10x_tps->modulation) { switch (as10x_tps->modulation) {
case CONST_QPSK: case CONST_QPSK:
fe_tps->modulation = QPSK; fe_tps->modulation = QPSK;
......
...@@ -1050,15 +1050,15 @@ static int vidioc_s_parm(struct file *filp, void *priv, ...@@ -1050,15 +1050,15 @@ static int vidioc_s_parm(struct file *filp, void *priv,
return 0; return 0;
} }
/* VIDIOC_ENUMSTD on go7007 were used for enumberating the supported fps and /* VIDIOC_ENUMSTD on go7007 were used for enumerating the supported fps and
its resolution, when the device is not connected to TV. its resolution, when the device is not connected to TV.
This were an API abuse, probably used by the lack of specific IOCTL's to This is were an API abuse, probably used by the lack of specific IOCTL's to
enumberate it, by the time the driver were written. enumerate it, by the time the driver was written.
However, since kernel 2.6.19, two new ioctls (VIDIOC_ENUM_FRAMEINTERVALS However, since kernel 2.6.19, two new ioctls (VIDIOC_ENUM_FRAMEINTERVALS
and VIDIOC_ENUM_FRAMESIZES) were added for this purpose. and VIDIOC_ENUM_FRAMESIZES) were added for this purpose.
The two functions bellow implements the newer ioctls The two functions below implement the newer ioctls
*/ */
static int vidioc_enum_framesizes(struct file *filp, void *priv, static int vidioc_enum_framesizes(struct file *filp, void *priv,
struct v4l2_frmsizeenum *fsize) struct v4l2_frmsizeenum *fsize)
......
...@@ -1282,7 +1282,7 @@ MODULE_PARM_DESC(iommap, "physical base for memory mapped I/O" ...@@ -1282,7 +1282,7 @@ MODULE_PARM_DESC(iommap, "physical base for memory mapped I/O"
/* /*
* some architectures (e.g. intel xscale) align the 8bit serial registers * some architectures (e.g. intel xscale) align the 8bit serial registers
* on 32bit word boundaries. * on 32bit word boundaries.
* See linux-kernel/serial/8250.c serial_in()/out() * See linux-kernel/drivers/tty/serial/8250/8250.c serial_in()/out()
*/ */
module_param(ioshift, int, S_IRUGO); module_param(ioshift, int, S_IRUGO);
MODULE_PARM_DESC(ioshift, "shift I/O register offset (0 = no shift)"); MODULE_PARM_DESC(ioshift, "shift I/O register offset (0 = no shift)");
......
...@@ -5,4 +5,4 @@ config SOLO6X10 ...@@ -5,4 +5,4 @@ config SOLO6X10
select SND_PCM select SND_PCM
---help--- ---help---
This driver supports the Softlogic based MPEG-4 and h.264 codec This driver supports the Softlogic based MPEG-4 and h.264 codec
codec cards. cards.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment