diff options
author | André Apitzsch <git@apitzsch.eu> | 2023-12-06 23:33:56 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-12-13 13:21:21 +0100 |
commit | 4f302d004bd0fc6ac392d5e92b290e637ec19999 (patch) | |
tree | ef35fe7fe46bb7a327ef183a92bae6d7d3431c34 /drivers/media/pci/zoran/zr36057.h | |
parent | media: i2c: imx214: Explain some magic numbers (diff) | |
download | linux-4f302d004bd0fc6ac392d5e92b290e637ec19999.tar.xz linux-4f302d004bd0fc6ac392d5e92b290e637ec19999.zip |
media: i2c: imx214: Move controls init to separate function
Code refinement.
While at it, don't destroy the mutex not initialized yet if the controls
are initialized incorrectly.
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: André Apitzsch <git@apitzsch.eu>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/pci/zoran/zr36057.h')
0 files changed, 0 insertions, 0 deletions