[PATCH 0/2] media: i2c: max96714/max96717

From: Tommaso Merciai
Date: Tue Sep 10 2024 - 09:45:21 EST


Hi All,
This patchset add missing HAS_EVENTS flags to max96714/max96717 drivers.

"If HAS_DEVNODE is set, and there are controls, then HAS_EVENTS
must be set and you have to be able to (un)subscribe to events.
Because the 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."

References:
- https://www.spinics.net/lists/linux-media/msg220721.html

Regards,
Tommaso

Tommaso Merciai (2):
media: i2c: max96714: add HAS_EVENTS subdev flag
media: i2c: max96717: add HAS_EVENTS subdev flag

drivers/media/i2c/max96714.c | 3 ++-
drivers/media/i2c/max96717.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)

--
2.34.1