]> www.infradead.org Git - users/willy/xarray.git/commit
media: i2c: imx334: Fix power management and control handling
authorTarang Raval <tarang.raval@siliconsignals.io>
Sat, 29 Mar 2025 05:43:27 +0000 (11:13 +0530)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 25 Apr 2025 08:15:37 +0000 (10:15 +0200)
commita6dde677b93795a04f43f90427723bb4c2a50e5e
treeed3995ad243fef57eefc8ec07c3d82934c9c0447
parent9e089a649a229fb08942ada75b0f1c7f5814e065
media: i2c: imx334: Fix power management and control handling

Some controls may need the sensor to be powered on to update their
values. Currently, only the exposure control does this. To ensure
proper handling, the power-up sequence is moved outside the switch-case.

Additionally, VBLANK control is now processed earlier so its changes
can correctly affect other controls.

Signed-off-by: Tarang Raval <tarang.raval@siliconsignals.io>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/imx334.c