media: ov13858: Add implementation for events
authorRicardo Ribalda <ribalda@chromium.org>
Wed, 6 Oct 2021 22:26:24 +0000 (00:26 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 8 Oct 2021 11:42:07 +0000 (13:42 +0200)
commit5bd4098c3d92be0c0124cfc13bd2a11ba3c39323
tree9c34c71eee5f2aab153cd69449da20d147f8961b
parent98442bd098c28b576c111cc5f5d3cb40e0790e74
media: ov13858: Add implementation for events

Use v4l2 control API helpers to support the events.

Fixes v4l2-compliance:

test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: FAIL

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov13858.c