1
0
Fork 0
alistair23-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 docs: Fix some broken references 2018-06-15 18:10:01 -03:00
si4713 media: si4713: don't check number of messages in the driver 2018-07-27 06:39:57 -04:00
wl128x media: v4l: fix broken video4linux docs locations 2018-06-15 18:10:01 -03:00
Kconfig media: v4l: fix broken video4linux docs locations 2018-06-15 18:10:01 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dsbr100.c media: radio: constify usb_device_id 2017-08-20 08:04:59 -04:00
lm7000.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
radio-aimslab.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
radio-aztech.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
radio-cadet.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
radio-gemtek.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
radio-isa.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
radio-isa.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
radio-keene.c media: radio: constify usb_device_id 2017-08-20 08:04:59 -04:00
radio-ma901.c media: radio: constify usb_device_id 2017-08-20 08:04:59 -04:00
radio-maxiradio.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
radio-miropcm20.c [media] media/radio: fix radio-miropcm20.c build with io.h header file 2014-09-21 20:50:38 -03:00
radio-mr800.c media: usb: don't initialize vars if not needed 2018-03-06 10:39:59 -05:00
radio-raremono.c media: add SPDX license info 2018-02-14 13:17:03 -05:00
radio-rtrack2.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
radio-sf16fmi.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
radio-sf16fmr2.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
radio-shark.c media: radio: constify usb_device_id 2017-08-20 08:04:59 -04:00
radio-shark2.c media: radio: constify usb_device_id 2017-08-20 08:04:59 -04:00
radio-si476x.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
radio-tea5764.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
radio-tea5777.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
radio-tea5777.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
radio-terratec.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
radio-timb.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
radio-trust.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
radio-typhoon.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
radio-wl1273.c media: radio-wl1273: fix return code for the polling routine 2018-08-08 10:57:14 -04:00
radio-zoltrix.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
saa7706h.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tea575x.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
tef6862.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00