aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-01-20 08:02:35 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:42:33 -0400
commitc314b53bdd2059860ae49c0cd1256d9c60b185fd (patch)
tree048ff67d25aaa8e67909114427f487bbc1a79ed2 /drivers
parentf1ee8e88e93cec2aabbd6669a0a94c8b8ad6d8fc (diff)
V4L/DVB (10376): gspca - zc3xx: Remove some useless tables of sensor adcm2700.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/gspca/zc3xx.c43
1 files changed, 3 insertions, 40 deletions
diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c
index 57917652d209..fff95e69cd14 100644
--- a/drivers/media/video/gspca/zc3xx.c
+++ b/drivers/media/video/gspca/zc3xx.c
@@ -381,19 +381,6 @@ static const struct usb_action adcm2700_50HZ[] = {
381 {0xaa, 0x28, 0x0002}, /* 00,28,02,aa */ 381 {0xaa, 0x28, 0x0002}, /* 00,28,02,aa */
382 {} 382 {}
383}; 383};
384static const struct usb_action adcm2700_50HZScale[] = {
385 {0xa0, 0x01, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,01,cc */
386 {0xaa, 0xfe, 0x0002}, /* 00,fe,02,aa */
387 {0xa0, 0x0a, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,0a,cc */
388 {0xbb, 0x05, 0x8400}, /* 84,05,00,bb */
389 {0xbb, 0xd0, 0xb007}, /* b0,d0,07,bb */
390 {0xbb, 0xa0, 0xb80f}, /* b8,a0,0f,bb */
391 {0xa0, 0x01, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,01,cc */
392 {0xaa, 0xfe, 0x0010}, /* 00,fe,10,aa */
393 {0xaa, 0x26, 0x00d0}, /* 00,26,d0,aa */
394 {0xaa, 0x28, 0x0002}, /* 00,28,02,aa */
395 {}
396};
397static const struct usb_action adcm2700_60HZ[] = { 384static const struct usb_action adcm2700_60HZ[] = {
398 {0xa0, 0x01, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,01,cc */ 385 {0xa0, 0x01, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,01,cc */
399 {0xaa, 0xfe, 0x0002}, /* 00,fe,02,aa */ 386 {0xaa, 0xfe, 0x0002}, /* 00,fe,02,aa */
@@ -407,19 +394,6 @@ static const struct usb_action adcm2700_60HZ[] = {
407 {0xaa, 0x28, 0x0002}, /* 00,28,02,aa */ 394 {0xaa, 0x28, 0x0002}, /* 00,28,02,aa */
408 {} 395 {}
409}; 396};
410static const struct usb_action adcm2700_60HZScale[] = {
411 {0xa0, 0x01, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,01,cc */
412 {0xaa, 0xfe, 0x0002}, /* 00,fe,02,aa */
413 {0xa0, 0x0a, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,0a,cc */
414 {0xbb, 0x07, 0x8400}, /* 84,07,00,bb */
415 {0xbb, 0x82, 0xb006}, /* b0,82,06,bb */
416 {0xbb, 0x04, 0xb80d}, /* b8,04,0d,bb */
417 {0xa0, 0x01, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,01,cc */
418 {0xaa, 0xfe, 0x0010}, /* 00,fe,10,aa */
419 {0xaa, 0x26, 0x0057}, /* 00,26,57,aa */
420 {0xaa, 0x28, 0x0002}, /* 00,28,02,aa */
421 {}
422};
423static const struct usb_action adcm2700_NoFliker[] = { 397static const struct usb_action adcm2700_NoFliker[] = {
424 {0xa0, 0x01, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,01,cc */ 398 {0xa0, 0x01, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,01,cc */
425 {0xaa, 0xfe, 0x0002}, /* 00,fe,02,aa */ 399 {0xaa, 0xfe, 0x0002}, /* 00,fe,02,aa */
@@ -431,17 +405,6 @@ static const struct usb_action adcm2700_NoFliker[] = {
431 {0xaa, 0xfe, 0x0010}, /* 00,fe,10,aa */ 405 {0xaa, 0xfe, 0x0010}, /* 00,fe,10,aa */
432 {} 406 {}
433}; 407};
434static const struct usb_action adcm2700_NoFlikerScale[] = {
435 {0xa0, 0x01, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,01,cc */
436 {0xaa, 0xfe, 0x0002}, /* 00,fe,02,aa */
437 {0xa0, 0x0a, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,0a,cc */
438 {0xbb, 0x07, 0x8400}, /* 84,07,00,bb */
439 {0xbb, 0x05, 0xb000}, /* b0,05,00,bb */
440 {0xbb, 0xa0, 0xb801}, /* b8,a0,01,bb */
441 {0xa0, 0x01, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,01,cc */
442 {0xaa, 0xfe, 0x0010}, /* 00,fe,10,aa */
443 {}
444};
445static const struct usb_action cs2102_Initial[] = { 408static const struct usb_action cs2102_Initial[] = {
446 {0xa1, 0x01, 0x0008}, 409 {0xa1, 0x01, 0x0008},
447 {0xa1, 0x01, 0x0008}, 410 {0xa1, 0x01, 0x0008},
@@ -6622,9 +6585,9 @@ static int setlightfreq(struct gspca_dev *gspca_dev)
6622 const struct usb_action *zc3_freq; 6585 const struct usb_action *zc3_freq;
6623 static const struct usb_action *freq_tb[SENSOR_MAX][6] = { 6586 static const struct usb_action *freq_tb[SENSOR_MAX][6] = {
6624/* SENSOR_ADCM2700 0 */ 6587/* SENSOR_ADCM2700 0 */
6625 {adcm2700_NoFlikerScale, adcm2700_NoFliker, 6588 {adcm2700_NoFliker, adcm2700_NoFliker,
6626 adcm2700_50HZScale, adcm2700_50HZ, 6589 adcm2700_50HZ, adcm2700_50HZ,
6627 adcm2700_60HZScale, adcm2700_60HZ}, 6590 adcm2700_60HZ, adcm2700_60HZ},
6628/* SENSOR_CS2102 1 */ 6591/* SENSOR_CS2102 1 */
6629 {cs2102_NoFliker, cs2102_NoFlikerScale, 6592 {cs2102_NoFliker, cs2102_NoFlikerScale,
6630 cs2102_50HZ, cs2102_50HZScale, 6593 cs2102_50HZ, cs2102_50HZScale,