4ce1567892
The last user of dvb_pll_configure was the dvb-usb function dvb_usb_tuner_calc_regs(), which was nothing more than a wrapper around dvb_pll_configure(). It's just a copy of the functionality provided by the tuner_ops calc_regs method, and can be deleted. There were two users of dvb_usb_tuner_calc_regs(). One was dvb_usb_tuner_set_params_i2c(), which is converted to use fe->ops.tuner_ops.calc_regs(). The other was the digitv driver. This driver can use one of two demods, mt352 or nxt6000. For the mt352, the driver would set tuner_ops.calc_regs to dvb_usb_tuner_calc_regs(). We can just attach dvb_pll and use the tuner_ops.calc_regs() provided by that module. For the nxt600, the driver would set tuner_ops.set_params to digitv_nxt6000_tuner_set_params. That function would in turn use dvb_usb_tuner_calc_regs(). We convert it to use tuner_ops.calc_regs() instead, and use dvb_pll_attach. The digitv_tuner_attach() needs to know which frontend was attached by digitv_frontend_attach(), since the nxt6000 needs tuner_ops.set_params() to be overridden with digitv_nxt6000_tuner_set_params(). So, to do this a digitv_state that says which frontend was used is added to the dvb_usb_device private state field. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> |
||
---|---|---|
.. | ||
bcm3510_priv.h | ||
bcm3510.c | ||
bcm3510.h | ||
bsbe1.h | ||
bsru6.h | ||
cx22700.c | ||
cx22700.h | ||
cx22702.c | ||
cx22702.h | ||
cx24110.c | ||
cx24110.h | ||
cx24123.c | ||
cx24123.h | ||
dib3000.h | ||
dib3000mb_priv.h | ||
dib3000mb.c | ||
dib3000mc.c | ||
dib3000mc.h | ||
dib7000m.c | ||
dib7000m.h | ||
dib7000p.c | ||
dib7000p.h | ||
dibx000_common.c | ||
dibx000_common.h | ||
dvb_dummy_fe.c | ||
dvb_dummy_fe.h | ||
dvb-pll.c | ||
dvb-pll.h | ||
isl6421.c | ||
isl6421.h | ||
Kconfig | ||
l64781.c | ||
l64781.h | ||
lgdt330x_priv.h | ||
lgdt330x.c | ||
lgdt330x.h | ||
lnbp21.c | ||
lnbp21.h | ||
Makefile | ||
mt312_priv.h | ||
mt312.c | ||
mt312.h | ||
mt352_priv.h | ||
mt352.c | ||
mt352.h | ||
mt2060_priv.h | ||
mt2060.c | ||
mt2060.h | ||
nxt200x.c | ||
nxt200x.h | ||
nxt6000_priv.h | ||
nxt6000.c | ||
nxt6000.h | ||
or51132.c | ||
or51132.h | ||
or51211.c | ||
or51211.h | ||
qt1010_priv.h | ||
qt1010.c | ||
qt1010.h | ||
s5h1420.c | ||
s5h1420.h | ||
sp887x.c | ||
sp887x.h | ||
sp8870.c | ||
sp8870.h | ||
stv0297.c | ||
stv0297.h | ||
stv0299.c | ||
stv0299.h | ||
tda826x.c | ||
tda826x.h | ||
tda827x.c | ||
tda827x.h | ||
tda1002x.h | ||
tda1004x.c | ||
tda1004x.h | ||
tda8083.c | ||
tda8083.h | ||
tda10021.c | ||
tda10023.c | ||
tda10086.c | ||
tda10086.h | ||
tua6100.c | ||
tua6100.h | ||
ves1x93.c | ||
ves1x93.h | ||
ves1820.c | ||
ves1820.h | ||
zl10353_priv.h | ||
zl10353.c | ||
zl10353.h |