From 34726de968719f26490f87efd0563e5e07f50a37 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Fri, 22 Jul 2005 05:13:34 +0000 Subject: * cx88-video.c: - It is importand to write at first to MO_GP3_IO, see datasheet on page 77: "2.3.3 GPIO Normal Mode". Importand is Bit 25 (GP3_MODE), or it is already done in file "cx88-video.c" at "static int video_mux(struct cx8800_dev *dev, unsigned int input)". From: Torsten Seeboth Signed-off-by: Michael Krufky --- linux/drivers/media/video/cx88/cx88-video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/drivers/media/video') diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c index 01b85437f..050c24b92 100644 --- a/linux/drivers/media/video/cx88/cx88-video.c +++ b/linux/drivers/media/video/cx88/cx88-video.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-video.c,v 1.81 2005/07/15 21:44:14 mchehab Exp $ + * $Id: cx88-video.c,v 1.82 2005/07/22 05:13:34 mkrufky Exp $ * * device driver for Conexant 2388x based TV cards * video4linux video interface @@ -998,10 +998,10 @@ static int video_open(struct inode *inode, struct file *file) struct cx88_core *core = dev->core; int board = core->board; dprintk(1,"video_open: setting radio device\n"); + cx_write(MO_GP3_IO, cx88_boards[board].radio.gpio3); cx_write(MO_GP0_IO, cx88_boards[board].radio.gpio0); cx_write(MO_GP1_IO, cx88_boards[board].radio.gpio1); cx_write(MO_GP2_IO, cx88_boards[board].radio.gpio2); - cx_write(MO_GP3_IO, cx88_boards[board].radio.gpio3); dev->core->tvaudio = WW_FM; cx88_set_tvaudio(core); cx88_set_stereo(core,V4L2_TUNER_MODE_STEREO,1); -- cgit v1.2.3