]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/2.6.25.1/v4l-cx88-enable-radio-gpio-correctly.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 2.6.25.1 / v4l-cx88-enable-radio-gpio-correctly.patch
1 From stable-bounces@linux.kernel.org Thu Apr 24 17:53:15 2008
2 From: Steven Toth <stoth@hauppauge.com>
3 Date: Thu, 24 Apr 2008 20:52:40 -0400
4 Subject: V4L: cx88: enable radio GPIO correctly
5 To: stable@kernel.org
6 Cc: Steven Toth <stoth@hauppauge.com>, v4l-dvb maintainer list <v4l-dvb-maintainer@linuxtv.org>, Mauro Carvalho Chehab <mchehab@infradead.org>
7 Message-ID: <48112B58.7010207@linuxtv.org>
8
9
10 From: Steven Toth <stoth@hauppauge.com>
11
12 (cherry picked from commit 6b92b3bd7ac91b7e255541f4be9bfd55b12dae41)
13
14 This patch fixes an issue on the HVR1300, where GPIO is blown away due to
15 the radio input being undefined, breaking the functionality of the DVB
16 demodulator and MPEG2 encoder used on the cx8802 mpeg TS port.
17
18 This is a minimal patch for 2.6.26 and the -stable series. This must be
19 fixed a better way for 2.6.27.
20
21 Signed-off-by: Steven Toth <stoth@hauppauge.com>
22 Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
23 Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
24 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
25
26 ---
27 drivers/media/video/cx88/cx88-cards.c | 4 ++++
28 1 file changed, 4 insertions(+)
29
30 --- a/drivers/media/video/cx88/cx88-cards.c
31 +++ b/drivers/media/video/cx88/cx88-cards.c
32 @@ -1354,6 +1354,10 @@ static const struct cx88_board cx88_boar
33 }},
34 /* fixme: Add radio support */
35 .mpeg = CX88_MPEG_DVB | CX88_MPEG_BLACKBIRD,
36 + .radio = {
37 + .type = CX88_RADIO,
38 + .gpio0 = 0xe780,
39 + },
40 },
41 [CX88_BOARD_ADSTECH_PTV_390] = {
42 .name = "ADS Tech Instant Video PCI",