aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/cx231xx/cx231xx-avcore.c8
-rw-r--r--drivers/media/video/cx23885/cx23885-dvb.c2
-rw-r--r--drivers/media/video/cx88/cx88-core.c2
-rw-r--r--drivers/media/video/davinci/dm355_ccdc.c2
-rw-r--r--drivers/media/video/davinci/vpss.c2
-rw-r--r--drivers/media/video/gspca/sonixb.c2
-rw-r--r--drivers/media/video/gspca/spca500.c2
-rw-r--r--drivers/media/video/gspca/spca501.c6
-rw-r--r--drivers/media/video/gspca/sunplus.c2
-rw-r--r--drivers/media/video/gspca/zc3xx.c2
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h2
-rw-r--r--drivers/media/video/s2255drv.c2
-rw-r--r--drivers/media/video/zoran/zoran.h2
13 files changed, 19 insertions, 17 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-avcore.c b/drivers/media/video/cx231xx/cx231xx-avcore.c
index 28f48f41f218..c2174413ab29 100644
--- a/drivers/media/video/cx231xx/cx231xx-avcore.c
+++ b/drivers/media/video/cx231xx/cx231xx-avcore.c
@@ -2414,9 +2414,11 @@ int cx231xx_gpio_i2c_read_ack(struct cx231xx *dev)
2414 cx231xx_info("No ACK after %d msec -GPIO I2C failed!", 2414 cx231xx_info("No ACK after %d msec -GPIO I2C failed!",
2415 nInit * 10); 2415 nInit * 10);
2416 2416
2417 /* readAck 2417 /*
2418 throuth clock stretch ,slave has given a SCL signal, 2418 * readAck
2419 so the SDA data can be directly read. */ 2419 * through clock stretch, slave has given a SCL signal,
2420 * so the SDA data can be directly read.
2421 */
2420 status = cx231xx_get_gpio_bit(dev, dev->gpio_dir, (u8 *)&dev->gpio_val); 2422 status = cx231xx_get_gpio_bit(dev, dev->gpio_dir, (u8 *)&dev->gpio_val);
2421 2423
2422 if ((dev->gpio_val & 1 << dev->board.tuner_sda_gpio) == 0) { 2424 if ((dev->gpio_val & 1 << dev->board.tuner_sda_gpio) == 0) {
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c
index 45e13ee66dc7..16c6a921f40b 100644
--- a/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/drivers/media/video/cx23885/cx23885-dvb.c
@@ -940,7 +940,7 @@ int cx23885_dvb_register(struct cx23885_tsport *port)
940 int err, i; 940 int err, i;
941 941
942 /* Here we need to allocate the correct number of frontends, 942 /* Here we need to allocate the correct number of frontends,
943 * as reflected in the cards struct. The reality is that currrently 943 * as reflected in the cards struct. The reality is that currently
944 * no cx23885 boards support this - yet. But, if we don't modify this 944 * no cx23885 boards support this - yet. But, if we don't modify this
945 * code then the second frontend would never be allocated (later) 945 * code then the second frontend would never be allocated (later)
946 * and fail with error before the attach in dvb_register(). 946 * and fail with error before the attach in dvb_register().
diff --git a/drivers/media/video/cx88/cx88-core.c b/drivers/media/video/cx88/cx88-core.c
index cf634606ba9a..b35411160f04 100644
--- a/drivers/media/video/cx88/cx88-core.c
+++ b/drivers/media/video/cx88/cx88-core.c
@@ -624,7 +624,7 @@ int cx88_reset(struct cx88_core *core)
624 /* setup image format */ 624 /* setup image format */
625 cx_andor(MO_COLOR_CTRL, 0x4000, 0x4000); 625 cx_andor(MO_COLOR_CTRL, 0x4000, 0x4000);
626 626
627 /* setup FIFO Threshholds */ 627 /* setup FIFO Thresholds */
628 cx_write(MO_PDMA_STHRSH, 0x0807); 628 cx_write(MO_PDMA_STHRSH, 0x0807);
629 cx_write(MO_PDMA_DTHRSH, 0x0807); 629 cx_write(MO_PDMA_DTHRSH, 0x0807);
630 630
diff --git a/drivers/media/video/davinci/dm355_ccdc.c b/drivers/media/video/davinci/dm355_ccdc.c
index 56fbefe036ae..314390016370 100644
--- a/drivers/media/video/davinci/dm355_ccdc.c
+++ b/drivers/media/video/davinci/dm355_ccdc.c
@@ -285,7 +285,7 @@ static int validate_ccdc_param(struct ccdc_config_params_raw *ccdcparam)
285 285
286 if ((ccdcparam->med_filt_thres < 0) || 286 if ((ccdcparam->med_filt_thres < 0) ||
287 (ccdcparam->med_filt_thres > CCDC_MED_FILT_THRESH)) { 287 (ccdcparam->med_filt_thres > CCDC_MED_FILT_THRESH)) {
288 dev_dbg(dev, "Invalid value of median filter thresold\n"); 288 dev_dbg(dev, "Invalid value of median filter threshold\n");
289 return -EINVAL; 289 return -EINVAL;
290 } 290 }
291 291
diff --git a/drivers/media/video/davinci/vpss.c b/drivers/media/video/davinci/vpss.c
index 6d709ca8cfb0..453236bd7559 100644
--- a/drivers/media/video/davinci/vpss.c
+++ b/drivers/media/video/davinci/vpss.c
@@ -53,7 +53,7 @@ struct vpss_hw_ops {
53 int (*enable_clock)(enum vpss_clock_sel clock_sel, int en); 53 int (*enable_clock)(enum vpss_clock_sel clock_sel, int en);
54 /* select input to ccdc */ 54 /* select input to ccdc */
55 void (*select_ccdc_source)(enum vpss_ccdc_source_sel src_sel); 55 void (*select_ccdc_source)(enum vpss_ccdc_source_sel src_sel);
56 /* clear wbl overlflow bit */ 56 /* clear wbl overflow bit */
57 int (*clear_wbl_overflow)(enum vpss_wbl_sel wbl_sel); 57 int (*clear_wbl_overflow)(enum vpss_wbl_sel wbl_sel);
58}; 58};
59 59
diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c
index cf3af8de6e97..e39efb45fa1c 100644
--- a/drivers/media/video/gspca/sonixb.c
+++ b/drivers/media/video/gspca/sonixb.c
@@ -304,7 +304,7 @@ static const __u8 initOv6650[] = {
304}; 304};
305static const __u8 ov6650_sensor_init[][8] = 305static const __u8 ov6650_sensor_init[][8] =
306{ 306{
307 /* Bright, contrast, etc are set througth SCBB interface. 307 /* Bright, contrast, etc are set through SCBB interface.
308 * AVCAP on win2 do not send any data on this controls. */ 308 * AVCAP on win2 do not send any data on this controls. */
309 /* Anyway, some registers appears to alter bright and constrat */ 309 /* Anyway, some registers appears to alter bright and constrat */
310 310
diff --git a/drivers/media/video/gspca/spca500.c b/drivers/media/video/gspca/spca500.c
index fab7ef85a6c1..7dbd5eea6cc0 100644
--- a/drivers/media/video/gspca/spca500.c
+++ b/drivers/media/video/gspca/spca500.c
@@ -589,7 +589,7 @@ static void spca500_reinit(struct gspca_dev *gspca_dev)
589 int err; 589 int err;
590 __u8 Data; 590 __u8 Data;
591 591
592 /* some unknow command from Aiptek pocket dv and family300 */ 592 /* some unknown command from Aiptek pocket dv and family300 */
593 593
594 reg_w(gspca_dev, 0x00, 0x0d01, 0x01); 594 reg_w(gspca_dev, 0x00, 0x0d01, 0x01);
595 reg_w(gspca_dev, 0x00, 0x0d03, 0x00); 595 reg_w(gspca_dev, 0x00, 0x0d03, 0x00);
diff --git a/drivers/media/video/gspca/spca501.c b/drivers/media/video/gspca/spca501.c
index b74a34218da0..66f9f0056146 100644
--- a/drivers/media/video/gspca/spca501.c
+++ b/drivers/media/video/gspca/spca501.c
@@ -1636,7 +1636,7 @@ static const __u16 spca501c_arowana_init_data[][3] = {
1636 {} 1636 {}
1637}; 1637};
1638 1638
1639/* Unknow camera from Ori Usbid 0x0000:0x0000 */ 1639/* Unknown camera from Ori Usbid 0x0000:0x0000 */
1640/* Based on snoops from Ori Cohen */ 1640/* Based on snoops from Ori Cohen */
1641static const __u16 spca501c_mysterious_open_data[][3] = { 1641static const __u16 spca501c_mysterious_open_data[][3] = {
1642 {0x02, 0x000f, 0x0005}, 1642 {0x02, 0x000f, 0x0005},
@@ -1945,7 +1945,7 @@ static int sd_init(struct gspca_dev *gspca_dev)
1945 goto error; 1945 goto error;
1946 break; 1946 break;
1947 case MystFromOriUnknownCamera: 1947 case MystFromOriUnknownCamera:
1948 /* UnKnow Ori CMOS Camera data */ 1948 /* Unknown Ori CMOS Camera data */
1949 if (write_vector(gspca_dev, spca501c_mysterious_open_data)) 1949 if (write_vector(gspca_dev, spca501c_mysterious_open_data))
1950 goto error; 1950 goto error;
1951 break; 1951 break;
@@ -1978,7 +1978,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
1978 write_vector(gspca_dev, spca501c_arowana_open_data); 1978 write_vector(gspca_dev, spca501c_arowana_open_data);
1979 break; 1979 break;
1980 case MystFromOriUnknownCamera: 1980 case MystFromOriUnknownCamera:
1981 /* UnKnow CMOS Camera data */ 1981 /* Unknown CMOS Camera data */
1982 write_vector(gspca_dev, spca501c_mysterious_init_data); 1982 write_vector(gspca_dev, spca501c_mysterious_init_data);
1983 break; 1983 break;
1984 default: 1984 default:
diff --git a/drivers/media/video/gspca/sunplus.c b/drivers/media/video/gspca/sunplus.c
index aa8f995ce04e..1a9af2ebdbef 100644
--- a/drivers/media/video/gspca/sunplus.c
+++ b/drivers/media/video/gspca/sunplus.c
@@ -631,7 +631,7 @@ static void spca504A_acknowledged_command(struct gspca_dev *gspca_dev,
631 count = 200; 631 count = 200;
632 while (--count > 0) { 632 while (--count > 0) {
633 msleep(10); 633 msleep(10);
634 /* gsmart mini2 write a each wait setting 1 ms is enought */ 634 /* gsmart mini2 write a each wait setting 1 ms is enough */
635/* reg_w_riv(dev, req, idx, val); */ 635/* reg_w_riv(dev, req, idx, val); */
636 status = reg_r_12(gspca_dev, 0x01, 0x0001, 1); 636 status = reg_r_12(gspca_dev, 0x01, 0x0001, 1);
637 if (status == endcode) { 637 if (status == endcode) {
diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c
index cdf3357b4c9f..49c3c1226e0e 100644
--- a/drivers/media/video/gspca/zc3xx.c
+++ b/drivers/media/video/gspca/zc3xx.c
@@ -7065,7 +7065,7 @@ static int sd_config(struct gspca_dev *gspca_dev,
7065 break; 7065 break;
7066 default: 7066 default:
7067 PDEBUG(D_PROBE, 7067 PDEBUG(D_PROBE,
7068 "Sensor UNKNOW_0 force Tas5130"); 7068 "Sensor UNKNOWN_0 force Tas5130");
7069 sd->sensor = SENSOR_TAS5130CXX; 7069 sd->sensor = SENSOR_TAS5130CXX;
7070 } 7070 }
7071 break; 7071 break;
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
index 5b152ff20bd0..5fcad28211d2 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
@@ -332,7 +332,7 @@ struct pvr2_hdw {
332 332
333 /* Bit mask of PVR2_CVAL_INPUT choices which are valid for the hardware */ 333 /* Bit mask of PVR2_CVAL_INPUT choices which are valid for the hardware */
334 unsigned int input_avail_mask; 334 unsigned int input_avail_mask;
335 /* Bit mask of PVR2_CVAL_INPUT choices which are currenly allowed */ 335 /* Bit mask of PVR2_CVAL_INPUT choices which are currently allowed */
336 unsigned int input_allowed_mask; 336 unsigned int input_allowed_mask;
337 337
338 /* Location of eeprom or a negative number if none */ 338 /* Location of eeprom or a negative number if none */
diff --git a/drivers/media/video/s2255drv.c b/drivers/media/video/s2255drv.c
index 9e3262c0ba37..a4c84368eb10 100644
--- a/drivers/media/video/s2255drv.c
+++ b/drivers/media/video/s2255drv.c
@@ -1985,7 +1985,7 @@ static int save_frame(struct s2255_dev *dev, struct s2255_pipeinfo *pipe_info)
1985 wake_up(&dev->fw_data->wait_fw); 1985 wake_up(&dev->fw_data->wait_fw);
1986 break; 1986 break;
1987 default: 1987 default:
1988 printk(KERN_INFO "s2255 unknwn resp\n"); 1988 printk(KERN_INFO "s2255 unknown resp\n");
1989 } 1989 }
1990 default: 1990 default:
1991 pdata++; 1991 pdata++;
diff --git a/drivers/media/video/zoran/zoran.h b/drivers/media/video/zoran/zoran.h
index d439c76b27e1..cb1de7ea197a 100644
--- a/drivers/media/video/zoran/zoran.h
+++ b/drivers/media/video/zoran/zoran.h
@@ -106,7 +106,7 @@ struct zoran_params {
106 unsigned long jpeg_markers; /* Which markers should go into the JPEG output. 106 unsigned long jpeg_markers; /* Which markers should go into the JPEG output.
107 * Unless you exactly know what you do, leave them untouched. 107 * Unless you exactly know what you do, leave them untouched.
108 * Inluding less markers will make the resulting code 108 * Inluding less markers will make the resulting code
109 * smaller, but there will be fewer aplications 109 * smaller, but there will be fewer applications
110 * which can read it. 110 * which can read it.
111 * The presence of the APP and COM marker is 111 * The presence of the APP and COM marker is
112 * influenced by APP0_len and COM_len ONLY! */ 112 * influenced by APP0_len and COM_len ONLY! */