Hi, v2 of the subdev active state series. I've fixed this according to comments from Hans and Jacopo: - doc improvements - drop extra #include - use active_state in two places instead of state - improve the notice in v4l2_subdev_lock_and_return_state() Tomi Tomi Valkeinen (6): media: subdev: rename subdev-state alloc & free media: subdev: add active state to struct v4l2_subdev media: subdev: pass also the active state to subdevs from ioctls media: subdev: add subdev state locking media: subdev: Add v4l2_subdev_lock_and_return_state() media: Documentation: add documentation about subdev state .../driver-api/media/v4l2-subdev.rst | 57 +++++++ drivers/media/platform/rcar-vin/rcar-v4l2.c | 9 +- drivers/media/platform/vsp1/vsp1_entity.c | 10 +- drivers/media/v4l2-core/v4l2-subdev.c | 125 +++++++++++++-- drivers/staging/media/tegra-video/vi.c | 10 +- include/media/v4l2-subdev.h | 150 +++++++++++++++++- 6 files changed, 334 insertions(+), 27 deletions(-) -- 2.25.1