[PATCH] cx88-dvb: Remove usage core->prev_set_voltage from cx24116 based cards.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cx88-dvb: Remove usage core->prev_set_voltage from cx24116 based cards.

From: Igor M. Liplianin <liplianin@xxxxx>

Remove usage core->prev_set_voltage from cx24116 based cards,
as it does not make sense for the demod.

Signed-off-by: Igor M. Liplianin <liplianin@xxxxx>

# HG changeset patch
# User Igor M. Liplianin <liplianin@xxxxx>
# Date 1226194226 -7200
# Node ID 917a20ca92fd4a84d766ca3a25fee6749179a1b6
# Parent  e14ee5f020b15afdf0e5b573d0f960c68a458d37
cx88-dvb: Remove usage core->prev_set_voltage from cx24116 based cards.

From: Igor M. Liplianin <liplianin@xxxxx>

Remove usage core->prev_set_voltage from cx24116 based cards,
as it does not make sense for the demod.

Signed-off-by: Igor M. Liplianin <liplianin@xxxxx>

diff -r e14ee5f020b1 -r 917a20ca92fd linux/drivers/media/video/cx88/cx88-dvb.c
--- a/linux/drivers/media/video/cx88/cx88-dvb.c	Sun Nov 09 02:15:35 2008 +0200
+++ b/linux/drivers/media/video/cx88/cx88-dvb.c	Sun Nov 09 03:30:26 2008 +0200
@@ -1077,10 +1077,8 @@
 		fe0->dvb.frontend = dvb_attach(cx24116_attach,
 					       &tevii_s460_config,
 					       &core->i2c_adap);
-		if (fe0->dvb.frontend != NULL) {
-			core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage;
+		if (fe0->dvb.frontend != NULL)
 			fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage;
-		}
 		break;
 	case CX88_BOARD_OMICOM_SS4_PCI:
 	case CX88_BOARD_TBS_8920:
@@ -1088,10 +1086,8 @@
 		fe0->dvb.frontend = dvb_attach(cx24116_attach,
 					       &hauppauge_hvr4000_config,
 					       &core->i2c_adap);
-		if (fe0->dvb.frontend != NULL) {
-			core->prev_set_voltage = fe0->dvb.frontend->ops.set_voltage;
+		if (fe0->dvb.frontend != NULL)
 			fe0->dvb.frontend->ops.set_voltage = tevii_dvbs_set_voltage;
-		}
 		break;
 	default:
 		printk(KERN_ERR "%s/2: The frontend of your DVB/ATSC card isn't supported yet\n",
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux