linux/drivers/media/pci/saa7164
Mauro Carvalho Chehab 9de1be6ec0 media: saa7164: fix return codes 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 at saa7164,
e. g. to return EPOLERR on errors, just like the V4L2 VB2 code.

Solves the following sparse warnings:
    drivers/media/pci/saa7164/saa7164-vbi.c:632:24: warning: incorrect type in return expression (different base types)
    drivers/media/pci/saa7164/saa7164-vbi.c:632:24:    expected restricted __poll_t
    drivers/media/pci/saa7164/saa7164-vbi.c:632:24:    got int
    drivers/media/pci/saa7164/saa7164-vbi.c:637:40: warning: incorrect type in return expression (different base types)
    drivers/media/pci/saa7164/saa7164-vbi.c:637:40:    expected restricted __poll_t
    drivers/media/pci/saa7164/saa7164-vbi.c:637:40:    got int
    drivers/media/pci/saa7164/saa7164-vbi.c:647:40: warning: incorrect type in return expression (different base types)
    drivers/media/pci/saa7164/saa7164-vbi.c:647:40:    expected restricted __poll_t
    drivers/media/pci/saa7164/saa7164-vbi.c:647:40:    got int

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-08 10:57:14 -04:00
..
Kconfig [media] saa7164: remove unused videobuf references 2015-10-01 08:25:06 -03:00
Makefile media: don't include drivers/media/i2c at cflags 2017-12-28 14:14:09 -05:00
saa7164-api.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
saa7164-buffer.c media: drivers: improve a size determination 2017-09-23 08:20:57 -04:00
saa7164-bus.c [media] saa7164: fix double fetch PCIe access condition 2017-06-06 16:55:50 -03:00
saa7164-cards.c [media] tveeprom: get rid of unused arg on tveeprom_hauppauge_analog() 2017-03-03 07:35:02 -03:00
saa7164-cmd.c [media] saa7164: better handle error codes 2017-05-19 07:08:05 -03:00
saa7164-core.c proc: introduce proc_create_single{,_data} 2018-05-16 07:23:35 +02:00
saa7164-dvb.c media: s5h14*.h: fix typos for CONTINUOUS 2018-03-06 05:15:02 -05:00
saa7164-encoder.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
saa7164-fw.c media: saa7164: Fix driver name in debug output 2018-05-09 16:27:41 -04:00
saa7164-i2c.c media: pci: make i2c_client const 2017-09-23 08:28:03 -04:00
saa7164-reg.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
saa7164-types.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
saa7164-vbi.c media: saa7164: fix return codes for the polling routine 2018-08-08 10:57:14 -04:00
saa7164.h media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00