diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/cinergyT2/cinergyT2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb/cinergyT2/cinergyT2.c b/drivers/media/dvb/cinergyT2/cinergyT2.c index 29b7be5271d4..71b575dc22bd 100644 --- a/drivers/media/dvb/cinergyT2/cinergyT2.c +++ b/drivers/media/dvb/cinergyT2/cinergyT2.c | |||
@@ -506,6 +506,9 @@ static int cinergyt2_open (struct inode *inode, struct file *file) | |||
506 | 506 | ||
507 | static void cinergyt2_unregister(struct cinergyt2 *cinergyt2) | 507 | static void cinergyt2_unregister(struct cinergyt2 *cinergyt2) |
508 | { | 508 | { |
509 | dvb_net_release(&cinergyt2->dvbnet); | ||
510 | dvb_dmxdev_release(&cinergyt2->dmxdev); | ||
511 | dvb_dmx_release(&cinergyt2->demux); | ||
509 | dvb_unregister_device(cinergyt2->fedev); | 512 | dvb_unregister_device(cinergyt2->fedev); |
510 | dvb_unregister_adapter(&cinergyt2->adapter); | 513 | dvb_unregister_adapter(&cinergyt2->adapter); |
511 | 514 | ||
@@ -938,6 +941,7 @@ static int cinergyt2_probe (struct usb_interface *intf, | |||
938 | return 0; | 941 | return 0; |
939 | 942 | ||
940 | bailout: | 943 | bailout: |
944 | dvb_net_release(&cinergyt2->dvbnet); | ||
941 | dvb_dmxdev_release(&cinergyt2->dmxdev); | 945 | dvb_dmxdev_release(&cinergyt2->dmxdev); |
942 | dvb_dmx_release(&cinergyt2->demux); | 946 | dvb_dmx_release(&cinergyt2->demux); |
943 | dvb_unregister_adapter(&cinergyt2->adapter); | 947 | dvb_unregister_adapter(&cinergyt2->adapter); |