summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-dvb.c
diff options
context:
space:
mode:
authorHartmut Hackmann <hartmut.hackmann@t-online.de>2006-10-18 22:30:42 +0200
committerHartmut Hackmann <hartmut.hackmann@t-online.de>2006-10-18 22:30:42 +0200
commitd968d366ae4f769786a3c4cbdc564f90c685beee (patch)
tree485a67f3ecfec8103bb04882814f0fa2263484d3 /linux/drivers/media/video/saa7134/saa7134-dvb.c
parent2faf808db74f5d0517b721edc011bda0b7ab9c3b (diff)
downloadmediapointer-dvb-s2-d968d366ae4f769786a3c4cbdc564f90c685beee.tar.gz
mediapointer-dvb-s2-d968d366ae4f769786a3c4cbdc564f90c685beee.tar.bz2
Fix mode switch of Compro Videomate T300
From: Hartmut Hackmann <hartmut.hackmann@t-online.de> The board did not return to analog mode since the board specific "demod sleep" function was not called. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-dvb.c')
-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 66205a2c5..28d3e5bfd 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)
&philips_europa_config,
&dev->i2c_adap);
if (dev->dvb.frontend) {
+ dev->original_demod_sleep = dev->dvb.frontend->ops.sleep;
+ dev->dvb.frontend->ops.sleep = philips_europa_demod_sleep;
dev->dvb.frontend->ops.tuner_ops.init = philips_europa_tuner_init;
dev->dvb.frontend->ops.tuner_ops.sleep = philips_europa_tuner_sleep;
dev->dvb.frontend->ops.tuner_ops.set_params = philips_td1316_tuner_set_params;