[media] au0828: postpone call to au0828_unregister_media_device()
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 10 Dec 2015 12:58:04 +0000 (10:58 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:56 +0000 (12:18 -0200)
commit7e9a8ad57c097b7fe7ed9ba514f78789363aa6b8
tree1a2eb056be0ca11abee5f6c3581973a6524d8be9
parent04bf12c2d313478a3e5c9ff59a7ba92ce418bee6
[media] au0828: postpone call to au0828_unregister_media_device()

The DVB core needs to unregister the media device. So, we
can't call au0828_unregister_media_device() before calling
au0828_dvb_unregister(), otherwise the DVB MC free code
(that will be implemented on the next patch) will fail.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/au0828/au0828-core.c