Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 588f9831 authored by Hartmut Hackmann's avatar Hartmut Hackmann Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (4770): Fix mode switch of Compro Videomate T300



The board did not return to analog mode since the board specific
"demod sleep" function was not called. 

Signed-off-by: default avatarHartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 9e741b74
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1147,6 +1147,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;