diff options
author | Devin Heitmueller <devin.heitmueller@gmail.com> | 2008-04-17 20:38:27 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:09:41 -0400 |
commit | bdfbf9520372daf2b4d6941474c92310848ccb27 (patch) | |
tree | ae30d3b5f222955cbf8eb7203b1ce9b3a106299f /drivers/media/video/em28xx/em28xx-dvb.c | |
parent | 3ca9c09379e8f3be0744c47f72769457fa46e9f3 (diff) |
V4L/DVB (7598): em28xx: several fixes on gpio programming
em28xx-cards.c:
- Fix reversed val/rst values in both analog_gpio and digital_gpio
vectors
- Fix crash that would was occurring during every analog startup
while looping over gpio_ctl
- Remove what appears to be a redundant setting of gpio_ctl->val
- Don't use OREN538 demodulation for the HVR-950 (prevents ATSC
scanning from working)
em28xx-dvb.c:
- Tuner should be in digital mode when issuing the reset
- Add copyright
- Change struct definition (corresponds to fix in em28xx-cards.c for
gpio_ctl looping)
Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-dvb.c')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-dvb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-dvb.c b/drivers/media/video/em28xx/em28xx-dvb.c index 1ceabeac4f7b..cbc155d302c8 100644 --- a/drivers/media/video/em28xx/em28xx-dvb.c +++ b/drivers/media/video/em28xx/em28xx-dvb.c | |||
@@ -3,6 +3,9 @@ | |||
3 | 3 | ||
4 | (c) 2008 Mauro Carvalho Chehab <mchehab@infradead.org> | 4 | (c) 2008 Mauro Carvalho Chehab <mchehab@infradead.org> |
5 | 5 | ||
6 | (c) 2008 Devin Heitmueller <devin.heitmueller@gmail.com> | ||
7 | - Fixes for the driver to properly work with HVR-950 | ||
8 | |||
6 | Based on cx88-dvb and saa7134-dvb originally written by: | 9 | Based on cx88-dvb and saa7134-dvb originally written by: |
7 | (c) 2004, 2005 Chris Pascoe <c.pascoe@itee.uq.edu.au> | 10 | (c) 2004, 2005 Chris Pascoe <c.pascoe@itee.uq.edu.au> |
8 | (c) 2004 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs] | 11 | (c) 2004 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs] |
@@ -116,7 +119,7 @@ static int dvb_init(struct em28xx *dev) | |||
116 | switch (dev->model) { | 119 | switch (dev->model) { |
117 | case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950: | 120 | case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950: |
118 | /* Enable lgdt330x */ | 121 | /* Enable lgdt330x */ |
119 | dev->mode = EM28XX_ANALOG_MODE; | 122 | dev->mode = EM28XX_DIGITAL_MODE; |
120 | em28xx_tuner_callback(dev, XC2028_TUNER_RESET, 0); | 123 | em28xx_tuner_callback(dev, XC2028_TUNER_RESET, 0); |
121 | 124 | ||
122 | dev->dvb.frontend = dvb_attach(lgdt330x_attach, | 125 | dev->dvb.frontend = dvb_attach(lgdt330x_attach, |