aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-07-12 09:26:36 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-07-24 13:03:23 -0400
commit8a2e6990f44d4cebaafcc0af1a786912ae733bb2 (patch)
treee3e246fdf08b1654d0a0bb491076f0e19db38932 /drivers/media/video
parentc43221df762c33e832e8855cae77989b6bf69fa6 (diff)
V4L/DVB (12234): em28xx-cards: use is_webcam flag for devices that are known to be webcams
By having the webcam devices marked as such, it will help the em28xx driver to do the right thing on those devices. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index 8f869468280f..9e71f034665d 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -207,7 +207,8 @@ struct em28xx_board em28xx_boards[] = {
207 [EM2750_BOARD_UNKNOWN] = { 207 [EM2750_BOARD_UNKNOWN] = {
208 .name = "Unknown EM2750/EM2751 webcam grabber", 208 .name = "Unknown EM2750/EM2751 webcam grabber",
209 .xclk = EM28XX_XCLK_FREQUENCY_48MHZ, 209 .xclk = EM28XX_XCLK_FREQUENCY_48MHZ,
210 .tuner_type = TUNER_ABSENT, /* This is a webcam */ 210 .tuner_type = TUNER_ABSENT,
211 .is_webcam = 1,
211 .input = { { 212 .input = { {
212 .type = EM28XX_VMUX_COMPOSITE1, 213 .type = EM28XX_VMUX_COMPOSITE1,
213 .vmux = 0, 214 .vmux = 0,
@@ -239,7 +240,8 @@ struct em28xx_board em28xx_boards[] = {
239 .name = "Huaqi DLCW-130", 240 .name = "Huaqi DLCW-130",
240 .valid = EM28XX_BOARD_NOT_VALIDATED, 241 .valid = EM28XX_BOARD_NOT_VALIDATED,
241 .xclk = EM28XX_XCLK_FREQUENCY_48MHZ, 242 .xclk = EM28XX_XCLK_FREQUENCY_48MHZ,
242 .tuner_type = TUNER_ABSENT, /* This is a webcam */ 243 .tuner_type = TUNER_ABSENT,
244 .is_webcam = 1,
243 .input = { { 245 .input = { {
244 .type = EM28XX_VMUX_COMPOSITE1, 246 .type = EM28XX_VMUX_COMPOSITE1,
245 .vmux = 0, 247 .vmux = 0,
@@ -440,7 +442,8 @@ struct em28xx_board em28xx_boards[] = {
440 [EM2820_BOARD_VIDEOLOGY_20K14XUSB] = { 442 [EM2820_BOARD_VIDEOLOGY_20K14XUSB] = {
441 .name = "Videology 20K14XUSB USB2.0", 443 .name = "Videology 20K14XUSB USB2.0",
442 .valid = EM28XX_BOARD_NOT_VALIDATED, 444 .valid = EM28XX_BOARD_NOT_VALIDATED,
443 .tuner_type = TUNER_ABSENT, /* This is a webcam */ 445 .tuner_type = TUNER_ABSENT,
446 .is_webcam = 1,
444 .input = { { 447 .input = { {
445 .type = EM28XX_VMUX_COMPOSITE1, 448 .type = EM28XX_VMUX_COMPOSITE1,
446 .vmux = 0, 449 .vmux = 0,
@@ -500,7 +503,8 @@ struct em28xx_board em28xx_boards[] = {
500 /* Beijing Huaqi Information Digital Technology Co., Ltd */ 503 /* Beijing Huaqi Information Digital Technology Co., Ltd */
501 .name = "NetGMBH Cam", 504 .name = "NetGMBH Cam",
502 .valid = EM28XX_BOARD_NOT_VALIDATED, 505 .valid = EM28XX_BOARD_NOT_VALIDATED,
503 .tuner_type = TUNER_ABSENT, /* This is a webcam */ 506 .tuner_type = TUNER_ABSENT,
507 .is_webcam = 1,
504 .input = { { 508 .input = { {
505 .type = EM28XX_VMUX_COMPOSITE1, 509 .type = EM28XX_VMUX_COMPOSITE1,
506 .vmux = 0, 510 .vmux = 0,