diff options
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/cx18/cx18-av-core.h | 2 | ||||
-rw-r--r-- | drivers/media/video/cx18/cx18-mailbox.h | 2 | ||||
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-avcore.c | 8 | ||||
-rw-r--r-- | drivers/media/video/cx23885/cx23885-dvb.c | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-core.c | 2 | ||||
-rw-r--r-- | drivers/media/video/davinci/dm355_ccdc.c | 2 | ||||
-rw-r--r-- | drivers/media/video/davinci/vpss.c | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/sonixb.c | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/spca500.c | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/spca501.c | 6 | ||||
-rw-r--r-- | drivers/media/video/gspca/sunplus.c | 2 | ||||
-rw-r--r-- | drivers/media/video/gspca/zc3xx.c | 2 | ||||
-rw-r--r-- | drivers/media/video/ov772x.c | 2 | ||||
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | 2 | ||||
-rw-r--r-- | drivers/media/video/s2255drv.c | 2 | ||||
-rw-r--r-- | drivers/media/video/zoran/zoran.h | 2 |
16 files changed, 22 insertions, 20 deletions
diff --git a/drivers/media/video/cx18/cx18-av-core.h b/drivers/media/video/cx18/cx18-av-core.h index 9b84a0c58e0e..cafb7e99b9a0 100644 --- a/drivers/media/video/cx18/cx18-av-core.h +++ b/drivers/media/video/cx18/cx18-av-core.h | |||
@@ -294,7 +294,7 @@ struct cx18_av_state { | |||
294 | #define CXADEC_QAM_CONST_DEC 0x924 | 294 | #define CXADEC_QAM_CONST_DEC 0x924 |
295 | #define CXADEC_QAM_ROTATOR_FREQ 0x948 | 295 | #define CXADEC_QAM_ROTATOR_FREQ 0x948 |
296 | 296 | ||
297 | /* Bit defintions / settings used in Mako Audio */ | 297 | /* Bit definitions / settings used in Mako Audio */ |
298 | #define CXADEC_PREF_MODE_MONO_LANGA 0 | 298 | #define CXADEC_PREF_MODE_MONO_LANGA 0 |
299 | #define CXADEC_PREF_MODE_MONO_LANGB 1 | 299 | #define CXADEC_PREF_MODE_MONO_LANGB 1 |
300 | #define CXADEC_PREF_MODE_MONO_LANGC 2 | 300 | #define CXADEC_PREF_MODE_MONO_LANGC 2 |
diff --git a/drivers/media/video/cx18/cx18-mailbox.h b/drivers/media/video/cx18/cx18-mailbox.h index 5ea07359904c..33a3491c4537 100644 --- a/drivers/media/video/cx18/cx18-mailbox.h +++ b/drivers/media/video/cx18/cx18-mailbox.h | |||
@@ -41,7 +41,7 @@ struct cx18; | |||
41 | /* | 41 | /* |
42 | * This structure is used by CPU to provide completed MDL & buffers information. | 42 | * This structure is used by CPU to provide completed MDL & buffers information. |
43 | * Its structure is dictated by the layout of the SCB, required by the | 43 | * Its structure is dictated by the layout of the SCB, required by the |
44 | * firmware, but its defintion needs to be here, instead of in cx18-scb.h, | 44 | * firmware, but its definition needs to be here, instead of in cx18-scb.h, |
45 | * for mailbox work order scheduling | 45 | * for mailbox work order scheduling |
46 | */ | 46 | */ |
47 | struct cx18_mdl_ack { | 47 | struct cx18_mdl_ack { |
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 2607de134fa6..e45d2df08138 100644 --- a/drivers/media/video/cx23885/cx23885-dvb.c +++ b/drivers/media/video/cx23885/cx23885-dvb.c | |||
@@ -1020,7 +1020,7 @@ int cx23885_dvb_register(struct cx23885_tsport *port) | |||
1020 | int err, i; | 1020 | int err, i; |
1021 | 1021 | ||
1022 | /* Here we need to allocate the correct number of frontends, | 1022 | /* Here we need to allocate the correct number of frontends, |
1023 | * as reflected in the cards struct. The reality is that currrently | 1023 | * as reflected in the cards struct. The reality is that currently |
1024 | * no cx23885 boards support this - yet. But, if we don't modify this | 1024 | * no cx23885 boards support this - yet. But, if we don't modify this |
1025 | * code then the second frontend would never be allocated (later) | 1025 | * code then the second frontend would never be allocated (later) |
1026 | * and fail with error before the attach in dvb_register(). | 1026 | * 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 a9f061063b49..5be95bc65138 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 | }; |
305 | static const __u8 ov6650_sensor_init[][8] = | 305 | static 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 8bd844d319ea..fe46868a87f2 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 d251f145a751..6761a3048a98 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 */ |
1641 | static const __u16 spca501c_mysterious_open_data[][3] = { | 1641 | static 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 682652cb7fe1..72bf3b4f0a31 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 864974b61145..69e5dc4fc9de 100644 --- a/drivers/media/video/gspca/zc3xx.c +++ b/drivers/media/video/gspca/zc3xx.c | |||
@@ -6665,7 +6665,7 @@ static int sd_config(struct gspca_dev *gspca_dev, | |||
6665 | break; | 6665 | break; |
6666 | default: | 6666 | default: |
6667 | PDEBUG(D_PROBE, | 6667 | PDEBUG(D_PROBE, |
6668 | "Sensor UNKNOW_0 force Tas5130"); | 6668 | "Sensor UNKNOWN_0 force Tas5130"); |
6669 | sd->sensor = SENSOR_TAS5130CXX; | 6669 | sd->sensor = SENSOR_TAS5130CXX; |
6670 | } | 6670 | } |
6671 | break; | 6671 | break; |
diff --git a/drivers/media/video/ov772x.c b/drivers/media/video/ov772x.c index eccb40ab7fec..205229333466 100644 --- a/drivers/media/video/ov772x.c +++ b/drivers/media/video/ov772x.c | |||
@@ -247,7 +247,7 @@ | |||
247 | 247 | ||
248 | /* COM5 */ | 248 | /* COM5 */ |
249 | #define AFR_ON_OFF 0x80 /* Auto frame rate control ON/OFF selection */ | 249 | #define AFR_ON_OFF 0x80 /* Auto frame rate control ON/OFF selection */ |
250 | #define AFR_SPPED 0x40 /* Auto frame rate control speed slection */ | 250 | #define AFR_SPPED 0x40 /* Auto frame rate control speed selection */ |
251 | /* Auto frame rate max rate control */ | 251 | /* Auto frame rate max rate control */ |
252 | #define AFR_NO_RATE 0x00 /* No reduction of frame rate */ | 252 | #define AFR_NO_RATE 0x00 /* No reduction of frame rate */ |
253 | #define AFR_1p2 0x10 /* Max reduction to 1/2 frame rate */ | 253 | #define AFR_1p2 0x10 /* Max reduction to 1/2 frame rate */ |
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h index 9098494ae59c..de5485f506b1 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | |||
@@ -333,7 +333,7 @@ struct pvr2_hdw { | |||
333 | 333 | ||
334 | /* Bit mask of PVR2_CVAL_INPUT choices which are valid for the hardware */ | 334 | /* Bit mask of PVR2_CVAL_INPUT choices which are valid for the hardware */ |
335 | unsigned int input_avail_mask; | 335 | unsigned int input_avail_mask; |
336 | /* Bit mask of PVR2_CVAL_INPUT choices which are currenly allowed */ | 336 | /* Bit mask of PVR2_CVAL_INPUT choices which are currently allowed */ |
337 | unsigned int input_allowed_mask; | 337 | unsigned int input_allowed_mask; |
338 | 338 | ||
339 | /* Location of eeprom or a negative number if none */ | 339 | /* Location of eeprom or a negative number if none */ |
diff --git a/drivers/media/video/s2255drv.c b/drivers/media/video/s2255drv.c index d0824f3c734f..41765f3c7c28 100644 --- a/drivers/media/video/s2255drv.c +++ b/drivers/media/video/s2255drv.c | |||
@@ -1980,7 +1980,7 @@ static int save_frame(struct s2255_dev *dev, struct s2255_pipeinfo *pipe_info) | |||
1980 | wake_up(&dev->fw_data->wait_fw); | 1980 | wake_up(&dev->fw_data->wait_fw); |
1981 | break; | 1981 | break; |
1982 | default: | 1982 | default: |
1983 | printk(KERN_INFO "s2255 unknwn resp\n"); | 1983 | printk(KERN_INFO "s2255 unknown resp\n"); |
1984 | } | 1984 | } |
1985 | default: | 1985 | default: |
1986 | pdata++; | 1986 | 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! */ |