summaryrefslogtreecommitdiff
path: root/drivers/amba
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-07 09:23:33 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-08 10:57:14 -0400
commitc46aa8491dd40d4ede5c9196c20d78e1e8c27786 (patch)
tree1f0b9e21dfc45ad2f804dce7eb63a1fc2413311e /drivers/amba
parent9de1be6ec05a635079fbcf75c5d47f656b61fe4a (diff)
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>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions