media: check status of dmxdev->exit in poll functions of demux&dvr
authorChangbing Xiong <cb.xiong@samsung.com>
Thu, 21 Aug 2014 02:05:40 +0000 (23:05 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:43 +0000 (12:00 +0900)
commit4b1b13c1dd4a30294ceffba6ec83e777cf0602ad
treec8dbf3647b5a05e333539252ca326da3af5b1e37
parentc240ddd14071fbf6de3c439daf64ccca87b5e6a6
media: check status of dmxdev->exit in poll functions of demux&dvr

when usb-type tuner is pulled out, user applications did not close device's FD,
and go on polling the device, we should return POLLERR directly.

Change-Id: Id685db6f37c7a3f454e4a93234a38bb65dfc43d9
Signed-off-by: Changbing Xiong <cb.xiong@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-core/dmxdev.c