linux/drivers/media/pci
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
..
b2c2 media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
bt8xx media: dvb: represent min/max/step/tolerance freqs in Hz 2018-08-02 18:10:48 -04:00
cobalt media: pci: cobalt: Replace GFP_ATOMIC with GFP_KERNEL in cobalt_probe() 2018-07-27 08:12:15 -04:00
cx18 media: cx18: remove redundant zero check on retval 2018-06-28 07:54:03 -04:00
cx88 media: pci: cx88: Replace mdelay() with msleep() in dvb_register() 2018-07-27 08:15:18 -04:00
cx23885 media: pci: cx23885: Replace mdelay() with msleep() in cx23885_reset() 2018-07-27 08:14:10 -04:00
cx25821 media: pci: cx25821: Replace mdelay() with msleep() 2018-07-27 08:14:30 -04:00
ddbridge media: dvb: represent min/max/step/tolerance freqs in Hz 2018-08-02 18:10:48 -04:00
dm1105 media: dm1105: Limit number of cards to avoid buffer over read 2018-08-02 18:53:42 -04:00
dt3155 media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
intel media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
ivtv media: pci: ivtv: Replace GFP_ATOMIC with GFP_KERNEL 2018-07-27 08:15:55 -04:00
mantis media: dvb: represent min/max/step/tolerance freqs in Hz 2018-08-02 18:10:48 -04:00
meye docs: Fix some broken references 2018-06-15 18:10:01 -03:00
netup_unidvb media: netup_unidvb: don't check number of messages in the driver 2018-07-27 06:39:57 -04:00
ngene media: dvb-frontends/stv0910: make TS speed configurable 2018-05-28 17:46:04 -04:00
pluto2 media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
pt1 media: pci/pt1: suppress compiler warning in xtensa arch 2018-07-30 08:51:28 -04:00
pt3 media: Revert cleanup ktime_set() usage 2018-05-09 16:31:06 -04:00
saa7134 treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
saa7146 media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
saa7164 media: saa7164: fix return codes for the polling routine 2018-08-08 10:57:14 -04:00
smipcie media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
solo6x10 media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
sta2x11 media: sta2x11: add a missing parameter description 2018-08-07 06:13:36 -04:00
ttpci media: dvb: fix location of get_dvb_firmware script 2018-06-15 18:10:01 -03:00
tw68 media: tw68: fix kernel-doc markups 2017-11-30 04:18:56 -05:00
tw686x media: tw686x: Fix oops on buffer alloc failure 2018-07-25 08:34:28 -04:00
tw5864 media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
Kconfig media: zoran: move to staging in preparation for removal 2018-05-25 15:21:36 -04:00
Makefile media: zoran: move to staging in preparation for removal 2018-05-25 15:21:36 -04:00