diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-27 15:16:57 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-27 15:16:57 -0400 |
| commit | 04fc0a4097014db7c22da33a56494e3e8a1895d5 (patch) | |
| tree | 90ae528ddbe01f7a8e2818a94056c08a3d8475fa | |
| parent | 760dcc6e1839e7ca82507698fb077d5d78b24964 (diff) | |
| parent | ca4e771f7b878b7bab02dedb539f7742f9b4f50e (diff) | |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (34 commits)
V4L/DVB (12303): cx23885: check pointers before dereferencing in dprintk macro
V4L/DVB (12302): cx23885-417: fix broken IOCTL handling
V4L/DVB (12300): bttv: fix regression: tvaudio must be loaded before tuner
V4L/DVB (12291): b2c2: fix frontends compiled into kernel
V4L/DVB (12286): sn9c20x: reorder includes to be like other drivers
V4L/DVB (12284): gspca - jpeg subdrivers: Check the result of kmalloc(jpeg header).
V4L/DVB (12283): gspca - sn9c20x: New subdriver for sn9c201 and sn9c202 bridges.
V4L/DVB (12282): gspca - main: Support for vidioc_g_chip_ident and vidioc_g/s_register.
V4L/DVB (12269): af9013: auto-detect parameters in case of garbage given by app
V4L/DVB (12267): gspca - sonixj: Bad sensor init of non ov76xx sensors.
V4L/DVB (12265): em28xx: fix tuning problem in HVR-900 (R1)
V4L/DVB (12263): em28xx: set demod profile for Pinnacle Hybrid Pro 320e
V4L/DVB (12262): em28xx: Make sure the tuner is initialized if generic empia USB id was used
V4L/DVB (12261): em28xx: set GPIO properly for Pinnacle Hybrid Pro analog support
V4L/DVB (12260): em28xx: make support work for the Pinnacle Hybrid Pro (eb1a:2881)
V4L/DVB (12258): em28xx: fix typo in mt352 init sequence for Terratec Cinergy T XS USB
V4L/DVB (12257): em28xx: make tuning work for Terratec Cinergy T XS USB (mt352 variant)
V4L/DVB (12245): em28xx: add support for mt9m001 webcams
V4L/DVB (12244): em28xx: adjust vinmode/vinctl based on the stream input format
V4L/DVB (12243): em28xx: allow specifying sensor xtal frequency
...
30 files changed, 2973 insertions, 170 deletions
diff --git a/Documentation/video4linux/CARDLIST.em28xx b/Documentation/video4linux/CARDLIST.em28xx index 014d255231fc..68c236c01846 100644 --- a/Documentation/video4linux/CARDLIST.em28xx +++ b/Documentation/video4linux/CARDLIST.em28xx | |||
| @@ -20,7 +20,7 @@ | |||
| 20 | 19 -> EM2860/SAA711X Reference Design (em2860) | 20 | 19 -> EM2860/SAA711X Reference Design (em2860) |
| 21 | 20 -> AMD ATI TV Wonder HD 600 (em2880) [0438:b002] | 21 | 20 -> AMD ATI TV Wonder HD 600 (em2880) [0438:b002] |
| 22 | 21 -> eMPIA Technology, Inc. GrabBeeX+ Video Encoder (em2800) [eb1a:2801] | 22 | 21 -> eMPIA Technology, Inc. GrabBeeX+ Video Encoder (em2800) [eb1a:2801] |
| 23 | 22 -> Unknown EM2750/EM2751 webcam grabber (em2750) [eb1a:2750,eb1a:2751] | 23 | 22 -> EM2710/EM2750/EM2751 webcam grabber (em2750) [eb1a:2750,eb1a:2751] |
| 24 | 23 -> Huaqi DLCW-130 (em2750) | 24 | 23 -> Huaqi DLCW-130 (em2750) |
| 25 | 24 -> D-Link DUB-T210 TV Tuner (em2820/em2840) [2001:f112] | 25 | 24 -> D-Link DUB-T210 TV Tuner (em2820/em2840) [2001:f112] |
| 26 | 25 -> Gadmei UTV310 (em2820/em2840) | 26 | 25 -> Gadmei UTV310 (em2820/em2840) |
diff --git a/Documentation/video4linux/gspca.txt b/Documentation/video4linux/gspca.txt index 2bcf78896e22..573f95b58807 100644 --- a/Documentation/video4linux/gspca.txt +++ b/Documentation/video4linux/gspca.txt | |||
| @@ -44,7 +44,9 @@ zc3xx 0458:7007 Genius VideoCam V2 | |||
| 44 | zc3xx 0458:700c Genius VideoCam V3 | 44 | zc3xx 0458:700c Genius VideoCam V3 |
| 45 | zc3xx 0458:700f Genius VideoCam Web V2 | 45 | zc3xx 0458:700f Genius VideoCam Web V2 |
| 46 | sonixj 0458:7025 Genius Eye 311Q | 46 | sonixj 0458:7025 Genius Eye 311Q |
| 47 | sn9c20x 0458:7029 Genius Look 320s | ||
| 47 | sonixj 0458:702e Genius Slim 310 NB | 48 | sonixj 0458:702e Genius Slim 310 NB |
| 49 | sn9c20x 045e:00f4 LifeCam VX-6000 (SN9C20x + OV9650) | ||
| 48 | sonixj 045e:00f5 MicroSoft VX3000 | 50 | sonixj 045e:00f5 MicroSoft VX3000 |
| 49 | sonixj 045e:00f7 MicroSoft VX1000 | 51 | sonixj 045e:00f7 MicroSoft VX1000 |
| 50 | ov519 045e:028c Micro$oft xbox cam | 52 | ov519 045e:028c Micro$oft xbox cam |
| @@ -282,6 +284,28 @@ sonixj 0c45:613a Microdia Sonix PC Camera | |||
| 282 | sonixj 0c45:613b Surfer SN-206 | 284 | sonixj 0c45:613b Surfer SN-206 |
| 283 | sonixj 0c45:613c Sonix Pccam168 | 285 | sonixj 0c45:613c Sonix Pccam168 |
| 284 | sonixj 0c45:6143 Sonix Pccam168 | 286 | sonixj 0c45:6143 Sonix Pccam168 |
| 287 | sn9c20x 0c45:6240 PC Camera (SN9C201 + MT9M001) | ||
| 288 | sn9c20x 0c45:6242 PC Camera (SN9C201 + MT9M111) | ||
| 289 | sn9c20x 0c45:6248 PC Camera (SN9C201 + OV9655) | ||
| 290 | sn9c20x 0c45:624e PC Camera (SN9C201 + SOI968) | ||
| 291 | sn9c20x 0c45:624f PC Camera (SN9C201 + OV9650) | ||
| 292 | sn9c20x 0c45:6251 PC Camera (SN9C201 + OV9650) | ||
| 293 | sn9c20x 0c45:6253 PC Camera (SN9C201 + OV9650) | ||
| 294 | sn9c20x 0c45:6260 PC Camera (SN9C201 + OV7670) | ||
| 295 | sn9c20x 0c45:6270 PC Camera (SN9C201 + MT9V011/MT9V111/MT9V112) | ||
| 296 | sn9c20x 0c45:627b PC Camera (SN9C201 + OV7660) | ||
| 297 | sn9c20x 0c45:627c PC Camera (SN9C201 + HV7131R) | ||
| 298 | sn9c20x 0c45:627f PC Camera (SN9C201 + OV9650) | ||
| 299 | sn9c20x 0c45:6280 PC Camera (SN9C202 + MT9M001) | ||
| 300 | sn9c20x 0c45:6282 PC Camera (SN9C202 + MT9M111) | ||
| 301 | sn9c20x 0c45:6288 PC Camera (SN9C202 + OV9655) | ||
| 302 | sn9c20x 0c45:628e PC Camera (SN9C202 + SOI968) | ||
| 303 | sn9c20x 0c45:628f PC Camera (SN9C202 + OV9650) | ||
| 304 | sn9c20x 0c45:62a0 PC Camera (SN9C202 + OV7670) | ||
| 305 | sn9c20x 0c45:62b0 PC Camera (SN9C202 + MT9V011/MT9V111/MT9V112) | ||
| 306 | sn9c20x 0c45:62b3 PC Camera (SN9C202 + OV9655) | ||
| 307 | sn9c20x 0c45:62bb PC Camera (SN9C202 + OV7660) | ||
| 308 | sn9c20x 0c45:62bc PC Camera (SN9C202 + HV7131R) | ||
| 285 | sunplus 0d64:0303 Sunplus FashionCam DXG | 309 | sunplus 0d64:0303 Sunplus FashionCam DXG |
| 286 | etoms 102c:6151 Qcam Sangha CIF | 310 | etoms 102c:6151 Qcam Sangha CIF |
| 287 | etoms 102c:6251 Qcam xxxxxx VGA | 311 | etoms 102c:6251 Qcam xxxxxx VGA |
| @@ -290,6 +314,7 @@ spca561 10fd:7e50 FlyCam Usb 100 | |||
| 290 | zc3xx 10fd:8050 Typhoon Webshot II USB 300k | 314 | zc3xx 10fd:8050 Typhoon Webshot II USB 300k |
| 291 | ov534 1415:2000 Sony HD Eye for PS3 (SLEH 00201) | 315 | ov534 1415:2000 Sony HD Eye for PS3 (SLEH 00201) |
| 292 | pac207 145f:013a Trust WB-1300N | 316 | pac207 145f:013a Trust WB-1300N |
| 317 | sn9c20x 145f:013d Trust WB-3600R | ||
| 293 | vc032x 15b8:6001 HP 2.0 Megapixel | 318 | vc032x 15b8:6001 HP 2.0 Megapixel |
| 294 | vc032x 15b8:6002 HP 2.0 Megapixel rz406aa | 319 | vc032x 15b8:6002 HP 2.0 Megapixel rz406aa |
| 295 | spca501 1776:501c Arowana 300K CMOS Camera | 320 | spca501 1776:501c Arowana 300K CMOS Camera |
| @@ -300,4 +325,11 @@ spca500 2899:012c Toptro Industrial | |||
| 300 | spca508 8086:0110 Intel Easy PC Camera | 325 | spca508 8086:0110 Intel Easy PC Camera |
| 301 | spca500 8086:0630 Intel Pocket PC Camera | 326 | spca500 8086:0630 Intel Pocket PC Camera |
| 302 | spca506 99fa:8988 Grandtec V.cap | 327 | spca506 99fa:8988 Grandtec V.cap |
| 328 | sn9c20x a168:0610 Dino-Lite Digital Microscope (SN9C201 + HV7131R) | ||
| 329 | sn9c20x a168:0611 Dino-Lite Digital Microscope (SN9C201 + HV7131R) | ||
| 330 | sn9c20x a168:0613 Dino-Lite Digital Microscope (SN9C201 + HV7131R) | ||
| 331 | sn9c20x a168:0618 Dino-Lite Digital Microscope (SN9C201 + HV7131R) | ||
| 332 | sn9c20x a168:0614 Dino-Lite Digital Microscope (SN9C201 + MT9M111) | ||
| 333 | sn9c20x a168:0615 Dino-Lite Digital Microscope (SN9C201 + MT9M111) | ||
| 334 | sn9c20x a168:0617 Dino-Lite Digital Microscope (SN9C201 + MT9M111) | ||
| 303 | spca561 abcd:cdee Petcam | 335 | spca561 abcd:cdee Petcam |
diff --git a/drivers/media/dvb/b2c2/flexcop-fe-tuner.c b/drivers/media/dvb/b2c2/flexcop-fe-tuner.c index efb4a6c2b57a..9a6307a347b2 100644 --- a/drivers/media/dvb/b2c2/flexcop-fe-tuner.c +++ b/drivers/media/dvb/b2c2/flexcop-fe-tuner.c | |||
| @@ -20,8 +20,14 @@ | |||
| 20 | #include "tuner-simple.h" | 20 | #include "tuner-simple.h" |
| 21 | #include "stv0297.h" | 21 | #include "stv0297.h" |
| 22 | 22 | ||
| 23 | |||
| 24 | /* Can we use the specified front-end? Remember that if we are compiled | ||
| 25 | * into the kernel we can't call code that's in modules. */ | ||
| 26 | #define FE_SUPPORTED(fe) (defined(CONFIG_DVB_##fe) || \ | ||
| 27 | (defined(CONFIG_DVB_##fe##_MODULE) && defined(MODULE))) | ||
| 28 | |||
| 23 | /* lnb control */ | 29 | /* lnb control */ |
| 24 | #if defined(CONFIG_DVB_MT312_MODULE) || defined(CONFIG_DVB_STV0299_MODULE) | 30 | #if FE_SUPPORTED(MT312) || FE_SUPPORTED(STV0299) |
| 25 | static int flexcop_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage) | 31 | static int flexcop_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage) |
| 26 | { | 32 | { |
| 27 | struct flexcop_device *fc = fe->dvb->priv; | 33 | struct flexcop_device *fc = fe->dvb->priv; |
| @@ -49,8 +55,7 @@ static int flexcop_set_voltage(struct dvb_frontend *fe, fe_sec_voltage_t voltage | |||
| 49 | } | 55 | } |
| 50 | #endif | 56 | #endif |
| 51 | 57 | ||
| 52 | #if defined(CONFIG_DVB_S5H1420_MODULE) || defined(CONFIG_DVB_STV0299_MODULE) \ | 58 | #if FE_SUPPORTED(S5H1420) || FE_SUPPORTED(STV0299) || FE_SUPPORTED(MT312) |
| 53 | || defined(CONFIG_DVB_MT312_MODULE) | ||
| 54 | static int flexcop_sleep(struct dvb_frontend* fe) | 59 | static int flexcop_sleep(struct dvb_frontend* fe) |
| 55 | { | 60 | { |
| 56 | struct flexcop_device *fc = fe->dvb->priv; | 61 | struct flexcop_device *fc = fe->dvb->priv; |
| @@ -61,7 +66,7 @@ static int flexcop_sleep(struct dvb_frontend* fe) | |||
| 61 | #endif | 66 | #endif |
| 62 | 67 | ||
| 63 | /* SkyStar2 DVB-S rev 2.3 */ | 68 | /* SkyStar2 DVB-S rev 2.3 */ |
| 64 | #if defined(CONFIG_DVB_MT312_MODULE) | 69 | #if FE_SUPPORTED(MT312) |
