diff options
author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2021-06-14 13:23:42 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-07-12 14:22:11 +0200 |
commit | 6cb0eee34c24b0052da554ff2ef9def8a10bbf96 (patch) | |
tree | a271eef32d9e5ad6b2bbdbcca99d0180bf654318 /net/psample/psample.c | |
parent | 892c37f8a3d673b945e951a8754695c119a2b1b0 (diff) | |
download | linux-6cb0eee34c24b0052da554ff2ef9def8a10bbf96.tar.bz2 |
media: ti-vpe: cal: add camerarx locking
We don't have any locking in camerarx for the subdev ops. We have
managed fine so far without locking, but in the future multiple video
capture devices can use the same camerarx, and locking is a must.
Add a mutex to protect the camerarx subdev ops. Some of the functions
were slightly restructured to make lock handling cleaner.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'net/psample/psample.c')
0 files changed, 0 insertions, 0 deletions