]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit46cfc30e68fb29aed3e74c36102291464a9f1819
tree1a2eb056be0ca11abee5f6c3581973a6524d8be9
parent2cc2ef4f4ec61c7cf5589c3b412126edce260bcc
[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