diff options
| author | 2026-09-30 14:41:38 +0800 | |
|---|---|---|
| committer | 2026-09-30 16:51:17 +0200 | |
| commit | e2b71ff73bde3ca756a2226e3593760055f583ec (patch) | |
| tree | 818a6421b63e029e8d0ff5facd334b47b30752f6 /scripts/Makefile.thinlto | |
| parent | media: i2c: it6625: fold subdev initialization into probe (diff) | |
media: i2c: it6625: use centrally managed active state
Store the negotiated media-bus format in the V4L2 subdev state instead
of duplicating it in driver-private fields. This keeps ACTIVE and TRY
formats under the framework's state management and keeps the active
format synchronized with the configured DV timings.
Use the control handler's lock as the subdev state lock. Keep
it6625_lock independent for MCU transactions.
Initialize every state from the current DV timings and default format
index, use the core get_fmt implementation, and update the active format
whenever the configured timings change.
Make ACTIVE set_fmt reject changes while streaming and commit the new
format only after hardware programming succeeds. TRY changes remain
state-only and do not program hardware.
Signed-off-by: Hermes Wu <Hermes.wu@ite.com.tw>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
