diff options
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; } |