]> git.baikalelectronics.ru Git - 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)
commitb38d1ae6ac34192632d35725a0e33a05706395ff
treea3f119db16e12f31977f6ba57f4d0f683ea6b8c5
parenta984f3f098434aaf4007ceb19f4a96700345761d
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