diff options
Diffstat (limited to 'drivers/media/video/video-buf-dvb.c')
-rw-r--r-- | drivers/media/video/video-buf-dvb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/video-buf-dvb.c b/drivers/media/video/video-buf-dvb.c index 7ee8a53cd336..f53edf1923b7 100644 --- a/drivers/media/video/video-buf-dvb.c +++ b/drivers/media/video/video-buf-dvb.c | |||
@@ -223,6 +223,7 @@ 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_frontend_detach(dvb->frontend); | ||
226 | dvb_unregister_adapter(&dvb->adapter); | 227 | dvb_unregister_adapter(&dvb->adapter); |
227 | fail_adapter: | 228 | fail_adapter: |
228 | return result; | 229 | return result; |
@@ -236,6 +237,7 @@ void videobuf_dvb_unregister(struct videobuf_dvb *dvb) | |||
236 | dvb_dmxdev_release(&dvb->dmxdev); | 237 | dvb_dmxdev_release(&dvb->dmxdev); |
237 | dvb_dmx_release(&dvb->demux); | 238 | dvb_dmx_release(&dvb->demux); |
238 | dvb_unregister_frontend(dvb->frontend); | 239 | dvb_unregister_frontend(dvb->frontend); |
240 | dvb_frontend_detach(dvb->frontend); | ||
239 | dvb_unregister_adapter(&dvb->adapter); | 241 | dvb_unregister_adapter(&dvb->adapter); |
240 | } | 242 | } |
241 | 243 | ||