media: i2c: lm3560: Optimize mutex lock usage

Pass the device's own mutex lock to the control handler so that the media
framework can handle control access instead of managing it manually. The
lock must be common to both sub-devices since they share same hardware,
so the individual sub-device locks will not work here.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
This commit is contained in:
Svyatoslav Ryhel 2026-05-06 09:48:44 +03:00 • committed by Sakari Ailus
commit ace46508ba