[media] media: correct return value in dvb_demux_poll
authorChangbing Xiong <cb.xiong@samsung.com>
Thu, 21 Aug 2014 02:05:07 +0000 (23:05 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 2 Sep 2014 14:49:00 +0000 (11:49 -0300)
commit236c9bfa4a133cbdfeeb3f7a1902950210549634
tree4ff82450d678c463898c750dff981bc6a312dcdd
parent7a0af6ed97f2f08baecb452e719d9c961d117109
[media] media: correct return value in dvb_demux_poll

Data type of return value is unsigned int, but in function of dvb_demux_poll,
when the pointer of dmxdevfilter equals NULL, it will return -EINVAL, which
is invalid.

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