diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-08-08 08:10:08 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-09-26 10:53:25 -0400 |
commit | 2bfe031df6bd5e3b8e503eba8e3b6461d7c2c27e (patch) | |
tree | 2d7288c2221fb6f7ef98ef7a1ee3fef3f04cf87e /drivers/media/dvb/ttusb-dec | |
parent | d995506062c974133ba66d0822e58a923d4d74d9 (diff) |
V4L/DVB (4386): Convert DVB devices to use dvb_attach()
Only devices using > 1 frontend were ported; ones which did not are left
using static binding.
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttusb-dec')
-rw-r--r-- | drivers/media/dvb/ttusb-dec/ttusb_dec.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/drivers/media/dvb/ttusb-dec/ttusb_dec.c index 6c1cb770bcf5..02651998f8db 100644 --- a/drivers/media/dvb/ttusb-dec/ttusb_dec.c +++ b/drivers/media/dvb/ttusb-dec/ttusb_dec.c | |||
@@ -1512,7 +1512,11 @@ static void ttusb_dec_exit_dvb(struct ttusb_dec *dec) | |||
1512 | dec->demux.dmx.remove_frontend(&dec->demux.dmx, &dec->frontend); | 1512 | dec->demux.dmx.remove_frontend(&dec->demux.dmx, &dec->frontend); |
1513 | dvb_dmxdev_release(&dec->dmxdev); | 1513 | dvb_dmxdev_release(&dec->dmxdev); |
1514 | dvb_dmx_release(&dec->demux); | 1514 | dvb_dmx_release(&dec->demux); |
1515 | if (dec->fe) dvb_unregister_frontend(dec->fe); | 1515 | if (dec->fe) { |
1516 | dvb_unregister_frontend(dec->fe); | ||
1517 | if (dec->fe->ops.release) | ||
1518 | dec->fe->ops.release(dec->fe); | ||
1519 | } | ||
1516 | dvb_unregister_adapter(&dec->adapter); | 1520 | dvb_unregister_adapter(&dec->adapter); |
1517 | } | 1521 | } |
1518 | 1522 | ||