OSDN Git Service

[media] 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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 2 Sep 2014 14:50:42 +0000 (11:50 -0300)
commitd102cac8097c71bbbba41f4d0cdf5b509d4c64cf
tree50f723773396cce972ede6c77e8bc107aae5e615
parent236c9bfa4a133cbdfeeb3f7a1902950210549634
[media] 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.

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