]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: i2c: max96714: add HAS_EVENTS support
authorTommaso Merciai <tomm.merciai@gmail.com>
Thu, 12 Sep 2024 14:06:48 +0000 (16:06 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 16 Oct 2024 07:32:35 +0000 (09:32 +0200)
commitd95fdc0408a8fc759e2685f2b68f3ab3f5d7561f
treefb3914c65121e737340a9e86cf5c875e22df3b47
parentbcd4f091cf1ea7184d813afc115af82ac9326b25
media: i2c: max96714: 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/max96714.c