diff options
author | Andrew de Quincy <devnull@localhost> | 2004-11-28 21:25:33 +0000 |
---|---|---|
committer | Andrew de Quincy <devnull@localhost> | 2004-11-28 21:25:33 +0000 |
commit | ae625623c832731a551768d5137323acb1e80259 (patch) | |
tree | 2c16e1275fb5f2cc27b3d94ca159afa95c37f533 /linux/drivers/media | |
parent | bc2eff8762df05ac4f2154597bb082d8d6c7cdef (diff) | |
download | mediapointer-dvb-s2-ae625623c832731a551768d5137323acb1e80259.tar.gz mediapointer-dvb-s2-ae625623c832731a551768d5137323acb1e80259.tar.bz2 |
Hook in set_voltage
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c index 299a8c76f..ea73889d6 100644 --- a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c +++ b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c @@ -492,7 +492,6 @@ static int ttusb_send_diseqc(struct dvb_frontend* fe, } #endif -#if 0 static int ttusb_update_lnb(struct ttusb *ttusb) { u8 b[] = { 0xaa, ++ttusb->c, 0x16, 5, /*power: */ 1, @@ -527,7 +526,6 @@ static int ttusb_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone) return ttusb_update_lnb(ttusb); } #endif -#endif #if 0 @@ -1355,13 +1353,17 @@ static void frontend_init(struct ttusb* ttusb) case 0x1003: // Hauppauge/TT Nova-USB-S budget (stv0299/ALPS BSRU6(tsa5059) // try the ALPS BSRU6 first ttusb->fe = stv0299_attach(&alps_bsru6_config, &ttusb->i2c_adap); - if (ttusb->fe != NULL) + if (ttusb->fe != NULL) { + ttusb->fe->ops->set_voltage = ttusb_set_voltage; break; + } // Grundig 29504-491 ttusb->fe = tda8083_attach(&ttusb_novas_grundig_29504_491_config, &ttusb->i2c_adap); - if (ttusb->fe != NULL) + if (ttusb->fe != NULL) { + ttusb->fe->ops->set_voltage = ttusb_set_voltage; break; + } break; |