linux_dsm_epyc7002/drivers/media/platform/s3c-camif
Mauro Carvalho Chehab c46aa8491d media: s3c-camif: 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/platform/s3c-camif/camif-capture.c:604:21: warning: incorrect type in assignment (different base types)
    drivers/media/platform/s3c-camif/camif-capture.c:604:21:    expected restricted __poll_t [usertype] ret
    drivers/media/platform/s3c-camif/camif-capture.c:604:21:    got int

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-08 10:57:14 -04:00
..
camif-capture.c media: s3c-camif: fix return code for the polling routine 2018-08-08 10:57:14 -04:00
camif-core.c media: s3c-camif: add missing description at s3c_camif_find_format() 2017-11-30 04:19:00 -05:00
camif-core.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:42:09 -03:00
camif-regs.c [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
camif-regs.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
Makefile