[media] tm6000-dvb: Fix module unload
authorJulian Scheel <julian@jusst.de>
Mon, 5 Nov 2012 14:51:05 +0000 (11:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 21 Dec 2012 20:45:31 +0000 (18:45 -0200)
commitafca99a2bf2cef3a6e5e574cb7bc0e0bdf5b3ffa
treea13c275d9ccfcbbe9711d96a1b2d0378e0b8e259
parentafc2e8a037885a8ce3a87684d742b9afb18e295c
[media] tm6000-dvb: Fix module unload

dvb_unregister_frontend has to be called before detach. Otherwise the
unregister call will segfault. This made tm6000-dvb module unload unusable.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/tm6000/tm6000-dvb.c