summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-17 18:38:27 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-17 18:38:27 -0300
commitf4d4e4a1e89e3364277050ebd6092a87a101f130 (patch)
treef9f44ed027fbb2bcc9e551c8c366fea06ffd7e36 /linux/drivers/media/video/em28xx/em28xx.h
parente50f58c7fa5d1681e75dbfe820f70d4703130464 (diff)
downloadmediapointer-dvb-s2-f4d4e4a1e89e3364277050ebd6092a87a101f130.tar.gz
mediapointer-dvb-s2-f4d4e4a1e89e3364277050ebd6092a87a101f130.tar.bz2
em28xx: several fixes on gpio programming
From: Devin Heitmueller <devin.heitmueller@gmail.com> 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 'linux/drivers/media/video/em28xx/em28xx.h')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx.h b/linux/drivers/media/video/em28xx/em28xx.h
index b198a8182..046fe249c 100644
--- a/linux/drivers/media/video/em28xx/em28xx.h
+++ b/linux/drivers/media/video/em28xx/em28xx.h
@@ -330,8 +330,8 @@ struct em28xx {
unsigned int max_range_640_480:1;
unsigned int has_dvb:1;
- struct gpio_ctl (*analog_gpio)[MAX_GPIO];
- struct gpio_ctl (*digital_gpio)[MAX_GPIO];
+ struct gpio_ctl *analog_gpio;
+ struct gpio_ctl *digital_gpio;
int video_inputs; /* number of video inputs */
struct list_head devlist;