media: dw9714: Add implementation for events
authorRicardo Ribalda <ribalda@chromium.org>
Wed, 6 Oct 2021 22:26:23 +0000 (00:26 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 8 Oct 2021 11:41:48 +0000 (13:41 +0200)
commit98442bd098c28b576c111cc5f5d3cb40e0790e74
tree4f1248868e7d5e87b18f6581bdb44cc47d21246a
parentea2b9a33711604e91f8c826f4dcb3c12baa1990a
media: dw9714: 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/dw9714.c