]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: staging/ipu7: Use v4l2_ctrl_subdev_subscribe_event()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 4 Aug 2025 21:41:27 +0000 (00:41 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Mon, 25 Aug 2025 13:40:34 +0000 (15:40 +0200)
commit8a14120d2abf9af2be29172bd1f3d4ce24b97e3e
tree5a40d93ac393376acaf154cbcd809e10d13caddd
parent59951994be5f2bbe00ad0167c83fcf5df70fc3a9
media: staging/ipu7: Use v4l2_ctrl_subdev_subscribe_event()

The ipu7-isys driver uses v4l2_ctrl_subscribe_event() to handle control
event subscription on a subdev. While this works, it is the wrong API.
Use the subdev-specific v4l2_ctrl_subdev_subscribe_event() helper
instead.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/staging/media/ipu7/ipu7-isys-csi2.c