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.h | |
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.h')
-rw-r--r-- | drivers/media/video/em28xx/em28xx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h index fa1c74217a52..10f64652c04f 100644 --- a/drivers/media/video/em28xx/em28xx.h +++ b/drivers/media/video/em28xx/em28xx.h | |||
@@ -319,8 +319,8 @@ struct em28xx { | |||
319 | unsigned int max_range_640_480:1; | 319 | unsigned int max_range_640_480:1; |
320 | unsigned int has_dvb:1; | 320 | unsigned int has_dvb:1; |
321 | 321 | ||
322 | struct gpio_ctl (*analog_gpio)[MAX_GPIO]; | 322 | struct gpio_ctl *analog_gpio; |
323 | struct gpio_ctl (*digital_gpio)[MAX_GPIO]; | 323 | struct gpio_ctl *digital_gpio; |
324 | 324 | ||
325 | int video_inputs; /* number of video inputs */ | 325 | int video_inputs; /* number of video inputs */ |
326 | struct list_head devlist; | 326 | struct list_head devlist; |