diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2007-03-23 20:00:07 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:45:17 -0400 |
commit | 9971f4f1d3d71a5b6654ba226976ba82d2e047a4 (patch) | |
tree | fd1d01a8b7630f173b1a4c88a913fffefdb95bc8 /drivers/media/video/saa7134/saa7134-dvb.c | |
parent | e65ec752ced103eb86e5f9c1f747f06d3e266780 (diff) |
V4L/DVB (5485): Tda827x: delayed probing of tuner version
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index 71c32b311654..65aec881bbde 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -1177,6 +1177,8 @@ static int dvb_init(struct saa7134_dev *dev) | |||
1177 | dev->dvb.frontend->ops.init(dev->dvb.frontend); | 1177 | dev->dvb.frontend->ops.init(dev->dvb.frontend); |
1178 | if (dev->dvb.frontend->ops.sleep) | 1178 | if (dev->dvb.frontend->ops.sleep) |
1179 | dev->dvb.frontend->ops.sleep(dev->dvb.frontend); | 1179 | dev->dvb.frontend->ops.sleep(dev->dvb.frontend); |
1180 | if (dev->dvb.frontend->ops.tuner_ops.sleep) | ||
1181 | dev->dvb.frontend->ops.tuner_ops.sleep(dev->dvb.frontend); | ||
1180 | } | 1182 | } |
1181 | return ret; | 1183 | return ret; |
1182 | } | 1184 | } |