[media] media: em28xx-dvb update fe exit flag to indicate device disconnect
authorShuah Khan <shuah.kh@samsung.com>
Sat, 12 Jul 2014 16:44:13 +0000 (13:44 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 14:18:57 +0000 (11:18 -0300)
commitf68e35af99cfbefdd250e37d4d9ba778d67e253d
tree92fc5c7845c0282f646f5ef4586884050bc817ae
parent18ed2860cb1345c1c99f62b089a15ac858f7bd48
[media] media: em28xx-dvb update fe exit flag to indicate device disconnect

Change em28xx_dvb_fini() to set fe exit flag to DVB_FE_DEVICE_REMOVED
when device is disconnected. em28xx maintains device disconnect status
in em28xx device. fe drivers will be able to now check the fe exit
status to avoid accessing the device, from their release interfaces
when called from disconnect path. This change depends on dvb-core
change that exports fe exit flag by moving it from fepriv to fe.

Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-dvb.c