]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - 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
CommitLineData
7d3da018
GKH
1From stable-bounces@linux.kernel.org Thu Apr 24 17:53:15 2008
2From: Steven Toth <stoth@hauppauge.com>
3Date: Thu, 24 Apr 2008 20:52:40 -0400
4Subject: V4L: cx88: enable radio GPIO correctly
5To: stable@kernel.org
6Cc: Steven Toth <stoth@hauppauge.com>, v4l-dvb maintainer list <v4l-dvb-maintainer@linuxtv.org>, Mauro Carvalho Chehab <mchehab@infradead.org>
7Message-ID: <48112B58.7010207@linuxtv.org>
8
9
10From: Steven Toth <stoth@hauppauge.com>
11
12(cherry picked from commit 6b92b3bd7ac91b7e255541f4be9bfd55b12dae41)
13
14This patch fixes an issue on the HVR1300, where GPIO is blown away due to
15the radio input being undefined, breaking the functionality of the DVB
16demodulator and MPEG2 encoder used on the cx8802 mpeg TS port.
17
18This is a minimal patch for 2.6.26 and the -stable series. This must be
19fixed a better way for 2.6.27.
20
21Signed-off-by: Steven Toth <stoth@hauppauge.com>
22Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
23Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
24Signed-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",