summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/saa7146_hlp.c
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2009-01-28 16:32:59 -0800
committerTrent Piepho <xyzzy@speakeasy.org>2009-01-28 16:32:59 -0800
commita905506813537c4bad63dd73c94a04d6a71f777e (patch)
treee2aad45ffdc0fc2b727e9d959ab248bb22ba48d5 /linux/drivers/media/common/saa7146_hlp.c
parentda23cfa879b6b08672c49c8c538876a977394199 (diff)
downloadmediapointer-dvb-s2-a905506813537c4bad63dd73c94a04d6a71f777e.tar.gz
mediapointer-dvb-s2-a905506813537c4bad63dd73c94a04d6a71f777e.tar.bz2
bttv: fix external mux for RemoteVision MX
From: Trent Piepho <xyzzy@speakeasy.org> Old versions of the bttv driver would use the high nibble of an input's muxsel value to program the GPIO lines enabled via gpiomask2. Apparently this was supposed to be for switching external audio muxes. Anyway, the code that did this was removed sometime in the pre-git 2.6 series. The RemoteVision MX board used this feature to control an external video mux and I guess no one noticed when they removed the code. Move the extra gpio mux data out of the high nibble of muxsel and to rv605_muxsel(), then have that function set the gpio lines with it. From looking at the CD22M3494E datasheet, it seems like the mdelay(1) is a much longer delay than necessary. It looks like only around 20 ns is necessary. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> CC: Miguel Freitas <miguel@cetuc.puc-rio.br>
Diffstat (limited to 'linux/drivers/media/common/saa7146_hlp.c')
0 files changed, 0 insertions, 0 deletions