diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-07-30 16:22:17 -0300 |
---|---|---|
committer | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-07-30 16:22:17 -0300 |
commit | 1e4535fa0a06bad3edad341e98221fbb7b730e94 (patch) | |
tree | d822e73c12b9bba6f0ac14654ddc44be144fc30f /linux/drivers/media/dvb | |
parent | 3873f38b0f5ab488ab1ea0205fac56218fefe927 (diff) | |
download | mediapointer-dvb-s2-1e4535fa0a06bad3edad341e98221fbb7b730e94.tar.gz mediapointer-dvb-s2-1e4535fa0a06bad3edad341e98221fbb7b730e94.tar.bz2 |
Fix budget-ci to use dvb_frontend_detach()
From: Andrew de Quincey <adq_dvb@lidskialf.net>
I missed one call during the dvb_attach() development.
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/budget-ci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-ci.c b/linux/drivers/media/dvb/ttpci/budget-ci.c index e440fa100..2c4089cab 100644 --- a/linux/drivers/media/dvb/ttpci/budget-ci.c +++ b/linux/drivers/media/dvb/ttpci/budget-ci.c @@ -1046,8 +1046,7 @@ static void frontend_init(struct budget_ci *budget_ci) budget_ci->budget.dvb_frontend->ops.dishnetwork_send_legacy_command = NULL; if (dvb_attach(lnbp21_attach, budget_ci->budget.dvb_frontend, &budget_ci->budget.i2c_adap, LNBP21_LLC, 0) == NULL) { printk("%s: No LNBP21 found!\n", __FUNCTION__); - if (budget_ci->budget.dvb_frontend->ops.release) - budget_ci->budget.dvb_frontend->ops.release(budget_ci->budget.dvb_frontend); + dvb_frontend_detach(budget_ci->budget.dvb_frontend); budget_ci->budget.dvb_frontend = NULL; } } |