]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: i2c: max96717: add HAS_EVENTS support
authorTommaso Merciai <tomm.merciai@gmail.com>
Thu, 12 Sep 2024 14:06:49 +0000 (16:06 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 16 Oct 2024 07:32:36 +0000 (09:32 +0200)
commit0d88a37edf54eede777befd0dc5cdd835d0b2b27
tree1fbbf0a3ab906a7921cce1a6e7456d54f4ba4bbf
parentd95fdc0408a8fc759e2685f2b68f3ab3f5d7561f
media: i2c: max96717: add HAS_EVENTS support

Controls can be exposed to userspace via a v4l-subdevX device, and
userspace has to be able to subscribe to control events so that it is
notified when the control changes value.
Add missing HAS_EVENTS support: flag and .(un)subscribe_event().

Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/max96717.c