Skip to content
Commit 72c25bbb authored by Tomi Valkeinen's avatar Tomi Valkeinen Committed by Phil Elwell
Browse files

media: i2c: imx477: Fix locking in imx477_init_controls()



The driver does not lock the imx477 mutex when calling
imx477_set_framing_limits(), leading to:

WARNING: CPU: 3 PID: 426 at drivers/media/v4l2-core/v4l2-ctrls-api.c:934 __v4l2_ctrl_modify_range+0x1a0/0x210 [
videodev]

Fix this by taking the lock.

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
parent c7cf3391
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment