[11/12] V4L: cx88: enable radio GPIO correctly

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Tuesday, April 29, 2008 - 11:50 am

2.6.24-stable review patch.  If anyone has any objections, please let us
know.

------------------

From: Steven Toth <stoth@hauppauge.com>

This patch fixes an issue on the HVR1300, where GPIO is blown away due to
the radio input being undefined, breaking the functionality of the DVB
demodulator and MPEG2 encoder used on the cx8802 mpeg TS port.

This is a minimal patch for 2.6.26 and the -stable series.  This must be
fixed a better way for 2.6.27.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
(cherry picked from commit 6b92b3bd7ac91b7e255541f4be9bfd55b12dae41)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
 drivers/media/video/cx88/cx88-cards.c |    4 ++++
 1 file changed, 4 insertions(+)

--- a/drivers/media/video/cx88/cx88-cards.c
+++ b/drivers/media/video/cx88/cx88-cards.c
@@ -1349,6 +1349,10 @@ static const struct cx88_board cx88_boar
 		}},
 		/* fixme: Add radio support */
 		.mpeg           = CX88_MPEG_DVB | CX88_MPEG_BLACKBIRD,
+		.radio = {
+			.type   = CX88_RADIO,
+			.gpio0	= 0xe780,
+		},
 	},
 	[CX88_BOARD_ADSTECH_PTV_390] = {
 		.name           = "ADS Tech Instant Video PCI",

-- 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[00/12] 2.6.24-stable review, Greg KH, (Tue Apr 29, 11:49 am)
[01/12] splice: use mapping_gfp_mask, Greg KH, (Tue Apr 29, 11:49 am)
[02/12] fix oops on rmmod capidrv, Greg KH, (Tue Apr 29, 11:49 am)
[10/12] V4L: Fix VIDIOCGAP corruption in ivtv, Greg KH, (Tue Apr 29, 11:50 am)
[11/12] V4L: cx88: enable radio GPIO correctly, Greg KH, (Tue Apr 29, 11:50 am)
Re: [00/12] 2.6.24-stable review, Jörg-Volker Peetz, (Tue Apr 29, 2:27 pm)
Re: [00/12] 2.6.24-stable review, Willy Tarreau, (Tue Apr 29, 3:45 pm)
Re: [00/12] 2.6.24-stable review, Darren Salt, (Tue Apr 29, 8:21 pm)
Re: [stable] [00/12] 2.6.24-stable review, Greg KH, (Wed Apr 30, 8:39 pm)
Re: [stable] [00/12] 2.6.24-stable review, Darren Salt, (Fri May 2, 8:24 am)
Re: [stable] [00/12] 2.6.24-stable review, Greg KH, (Thu May 8, 10:27 am)