]> git.ipfire.org Git - thirdparty/linux.git/commit
media: vsp1: Use lockdep assertions to enforce documented conventions
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 16 Jun 2025 13:46:38 +0000 (16:46 +0300)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 3 Jul 2025 07:04:14 +0000 (09:04 +0200)
commit9f0fb0309485e96d5b45e71e901cd994be4d63dc
tree9fb61609f4d527c280f563846445a69419e792c8
parente5dd01ea96107ff5fc3f13b333302292ea2e627f
media: vsp1: Use lockdep assertions to enforce documented conventions

A few functions have documented locking conventions. Documentation is
nice, but runtime checks are better. Enforce the conventions with
lockdep assertions.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/renesas/vsp1/vsp1_dl.c
drivers/media/platform/renesas/vsp1/vsp1_pipe.c