diff options
Diffstat (limited to 'drivers/media/video/video-buf-dvb.c')
-rw-r--r-- | drivers/media/video/video-buf-dvb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/video-buf-dvb.c b/drivers/media/video/video-buf-dvb.c index 7ee8a53cd336..376d354b27f6 100644 --- a/drivers/media/video/video-buf-dvb.c +++ b/drivers/media/video/video-buf-dvb.c | |||
@@ -223,6 +223,9 @@ fail_dmxdev: | |||
223 | fail_dmx: | 223 | fail_dmx: |
224 | dvb_unregister_frontend(dvb->frontend); | 224 | dvb_unregister_frontend(dvb->frontend); |
225 | fail_frontend: | 225 | fail_frontend: |
226 | dvb_detach(dvb->frontend->ops.release_sec, dvb->frontend); | ||
227 | dvb_detach(dvb->frontend->ops.tuner_ops.release, dvb->frontend); | ||
228 | dvb_detach(dvb->frontend->ops.release, dvb->frontend); | ||
226 | dvb_unregister_adapter(&dvb->adapter); | 229 | dvb_unregister_adapter(&dvb->adapter); |
227 | fail_adapter: | 230 | fail_adapter: |
228 | return result; | 231 | return result; |
@@ -236,6 +239,9 @@ void videobuf_dvb_unregister(struct videobuf_dvb *dvb) | |||
236 | dvb_dmxdev_release(&dvb->dmxdev); | 239 | dvb_dmxdev_release(&dvb->dmxdev); |
237 | dvb_dmx_release(&dvb->demux); | 240 | dvb_dmx_release(&dvb->demux); |
238 | dvb_unregister_frontend(dvb->frontend); | 241 | dvb_unregister_frontend(dvb->frontend); |
242 | dvb_detach(dvb->frontend->ops.release_sec, dvb->frontend); | ||
243 | dvb_detach(dvb->frontend->ops.tuner_ops.release, dvb->frontend); | ||
244 | dvb_detach(dvb->frontend->ops.release, dvb->frontend); | ||
239 | dvb_unregister_adapter(&dvb->adapter); | 245 | dvb_unregister_adapter(&dvb->adapter); |
240 | } | 246 | } |
241 | 247 | ||