mbox series

[v2,0/2] media: i2c: max96714/max96717

Message ID 20240912140649.1243602-1-tomm.merciai@gmail.com (mailing list archive)
Headers show
Series media: i2c: max96714/max96717 | expand

Message

Tommaso Merciai Sept. 12, 2024, 2:06 p.m. UTC
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 support
  media: i2c: max96717: add HAS_EVENTS support

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