diff options
author | Patrick Boettcher <devnull@localhost> | 2005-04-17 14:37:15 +0000 |
---|---|---|
committer | Patrick Boettcher <devnull@localhost> | 2005-04-17 14:37:15 +0000 |
commit | 4e4da24aa36487071bd874fc63d387258299ceb0 (patch) | |
tree | b048f438139994b1842b269838bc85d2eebf2d63 /linux/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c | |
parent | b5833bcf1184221ce9ff84d4787d77ce1cbacafa (diff) | |
download | mediapointer-dvb-s2-4e4da24aa36487071bd874fc63d387258299ceb0.tar.gz mediapointer-dvb-s2-4e4da24aa36487071bd874fc63d387258299ceb0.tar.bz2 |
- ported all dibusb drivers to fit into the dvb-usb-frameword
- created dvb-pll-entries for the tuner used with the dibusb-drivers
- removed all traces of the dibusb driver
- adapted the dib3000-frontends to get along with the dvb-pll-changes
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c b/linux/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c index 600317cf0..067c5f149 100644 --- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c +++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c @@ -164,12 +164,12 @@ static int dvb_usb_fe_sleep(struct dvb_frontend *fe) { struct dvb_usb_device *d = fe->dvb->priv; - if (d->props.power_ctrl) - d->props.power_ctrl(d,0); - if (d->fe_sleep) d->fe_sleep(fe); + if (d->props.power_ctrl) + d->props.power_ctrl(d,0); + return 0; } @@ -196,6 +196,10 @@ int dvb_usb_fe_init(struct dvb_usb_device* d) } } else err("no frontend was attached by '%s'",d->desc->name); + + if (d->props.tuner_attach != NULL) + d->props.tuner_attach(d); + return 0; } |