linux/drivers/media/radio
Mauro Carvalho Chehab dcefa533bd media: radio-wl1273: fix return code for the polling routine
All poll handlers should return a poll flag, and not error codes. So,
instead of returning an error, do the right thing here,
e. g. to return EPOLERR on errors, just like the V4L2 VB2 code.

Solves the following sparse warning:
    drivers/media/radio/radio-wl1273.c:1099:24: warning: incorrect type in return expression (different base types)
    drivers/media/radio/radio-wl1273.c:1099:24:    expected restricted __poll_t
    drivers/media/radio/radio-wl1273.c:1099:24:    got int

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-08 10:57:14 -04:00
..
si470x
si4713
wl128x
Kconfig
Makefile
dsbr100.c
lm7000.h
radio-aimslab.c
radio-aztech.c
radio-cadet.c
radio-gemtek.c
radio-isa.c
radio-isa.h
radio-keene.c
radio-ma901.c
radio-maxiradio.c
radio-miropcm20.c
radio-mr800.c
radio-raremono.c
radio-rtrack2.c
radio-sf16fmi.c
radio-sf16fmr2.c
radio-shark.c
radio-shark2.c
radio-si476x.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
radio-tea5764.c
radio-tea5777.c
radio-tea5777.h
radio-terratec.c
radio-timb.c
radio-trust.c
radio-typhoon.c
radio-wl1273.c
radio-zoltrix.c
saa7706h.c
tea575x.c
tef6862.c