diff options
author | Tommaso Merciai <tomm.merciai@gmail.com> | 2024-10-30 01:56:30 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2024-11-07 11:05:57 +0300 |
commit | 17971a430ff90df896fb67d1d52a321a400bce0e (patch) | |
tree | 5646fd761f9f3dc2bafdf521d72bdbcc00b31ded /tools/perf/scripts/python/stackcollapse.py | |
parent | a3461f73f611a1f6fc520a270637f1f9b26fe297 (diff) | |
download | linux-17971a430ff90df896fb67d1d52a321a400bce0e.tar.xz |
media: i2c: Drop HAS_EVENTS and event handlers
v4l2_subdev_init_finalize() already sets the HAS_EVENTS flag if a
control handler is set, and subdev_do_ioctl() uses
v4l2_ctrl_subdev_subscribe_event() and v4l2_event_subdev_unsubscribe()
as defaults if the subdev doesn't have .(un)subscribe.
Let's drop the HAS_EVENTS flag and event handlers.
Signed-off-by: Tommaso Merciai <tomm.merciai@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions