[media] Fix regression in some dib0700 based devices
authorJames Harper <james.harper@ejbdigital.com.au>
Mon, 9 Jun 2014 00:24:20 +0000 (21:24 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 03:51:02 +0000 (00:51 -0300)
commit9e334c75642b6e5bfb956bf0e45f1d3afa271b67
tree26e580b2f0edad119e5e3a33f8acfe89ff4d9fa0
parent64438fe65a5470cef68c82cf585405cac3050212
[media] Fix regression in some dib0700 based devices

Fix regression in some dib0700 based devices.
Set size_of_priv, and don't call dvb_detach unnecessarily.
This resolves the oops(s) for my "Leadtek Winfast DTV Dongle (STK7700P based)"

Signed-off-by: James Harper <james.harper@ejbdigital.com.au>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/dvb-usb/dib0700_devices.c