aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2009-07-14 23:35:47 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-07-24 13:03:28 -0400
commit5343e446014b93f740d5502f9f3bfa3f66dcbc7c (patch)
tree8db14f3d111fcf1dc14ad02cd43db26a4f8bc2bd /drivers/media/video/em28xx
parent44010440ca2693a07b1252ee836a23804412575e (diff)
V4L/DVB (12262): em28xx: Make sure the tuner is initialized if generic empia USB id was used
In cases where the device has a generic Empia USB ID, the call in the precard setup phase did not set the tuner GPIO. As a result, the tuner may not be taken out of reset before attempting initialization in the analog driver. This problem was not seen before with the EVGA inDtube, since that particular board has the analog GPIO setup to include taking the tuner out of reset. Thanks to Andreas Lunderhage for testing patches and providing a remote debug environment for the Pinnacle 320e. Cc: Andreas Lunderhage <lunderhage@home.se> Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index 476acb02a3d3..5aef7ddd091c 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -2286,6 +2286,7 @@ void em28xx_card_setup(struct em28xx *dev)
2286 em28xx_set_mode() in em28xx_pre_card_setup() was a no-op, 2286 em28xx_set_mode() in em28xx_pre_card_setup() was a no-op,
2287 so make the call now so the analog GPIOs are set properly 2287 so make the call now so the analog GPIOs are set properly
2288 before probing the i2c bus. */ 2288 before probing the i2c bus. */
2289 em28xx_gpio_set(dev, dev->board.tuner_gpio);
2289 em28xx_set_mode(dev, EM28XX_ANALOG_MODE); 2290 em28xx_set_mode(dev, EM28XX_ANALOG_MODE);
2290 break; 2291 break;
2291 case EM2820_BOARD_SILVERCREST_WEBCAM: 2292 case EM2820_BOARD_SILVERCREST_WEBCAM: