summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorHartmut Hackmann <hartmut.hackmann@t-online.de>2007-03-24 01:00:07 +0100
committerHartmut Hackmann <hartmut.hackmann@t-online.de>2007-03-24 01:00:07 +0100
commit662b28d2ae5b3175402f0ffdecdb5a0d529e329d (patch)
treef2fc805189a1da30dc49a75f05f1a9455858294a /linux/drivers/media/video
parent3d387c344dd3a468d4c9bbdf5abda932189d7bc1 (diff)
downloadmediapointer-dvb-s2-662b28d2ae5b3175402f0ffdecdb5a0d529e329d.tar.gz
mediapointer-dvb-s2-662b28d2ae5b3175402f0ffdecdb5a0d529e329d.tar.bz2
tda827x: delayed probing of tuner version
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> When the tuner is attached, the tda10046 is not initilized yet, so it is searching for its firmware. If the tuner is attached to the tda10046 silent i2c port, a bus collision can occur. Now the version is probed during the first init or sleep call. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-dvb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-dvb.c b/linux/drivers/media/video/saa7134/saa7134-dvb.c
index 752e90e97..64494eecb 100644
--- a/linux/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c
@@ -1178,6 +1178,8 @@ static int dvb_init(struct saa7134_dev *dev)
dev->dvb.frontend->ops.init(dev->dvb.frontend);
if (dev->dvb.frontend->ops.sleep)
dev->dvb.frontend->ops.sleep(dev->dvb.frontend);
+ if (dev->dvb.frontend->ops.tuner_ops.sleep)
+ dev->dvb.frontend->ops.tuner_ops.sleep(dev->dvb.frontend);
}
return ret;
}