[media] rtl28xxu: change module unregister order
authorAntti Palosaari <crope@iki.fi>
Tue, 2 Dec 2014 14:23:49 +0000 (11:23 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 27 Jan 2015 12:57:58 +0000 (10:57 -0200)
commit8d44aeefcd79e9be3b6db4f37efc7544995b619e
tree599eaa98a684db1525613f2cbac476e0668dae11
parent83b2f84957373683164e3780d040b3c007e06b05
[media] rtl28xxu: change module unregister order

We must unregister frontend first and after that driver itself. That
order went wrong after demod drivers were switched to kernel I2C
drivers, causing crashes.

Tested-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/dvb-usb-v2/rtl28xxu.c