]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
media: ov5647: Protect s_stream() with mutex
authorJacopo Mondi <jacopo@jmondi.org>
Thu, 19 Nov 2020 16:32:30 +0000 (17:32 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 Jan 2021 15:10:53 +0000 (16:10 +0100)
commitab614f27569ffab2441cc8f45fc24b6467aafb3c
treea3f119db16e12f31977f6ba57f4d0f683ea6b8c5
parent464090c0af3de6f3fe3a6329f524eadb6a8d9744
media: ov5647: Protect s_stream() with mutex

Use the driver mutex to protect s_stream() operations.
This will become more relevant once the sensor will support more formats
and set_format() could be issue concurrently to s_stream().

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov5647.c