media: rockchip: cif: subdev-itf add update sensor info in s_power

cif subdev-itf need to update sensor info in s_power, fix
mipi switch case info error issue.

Change-Id: I1ce93c31e4b3c1631dac4c86e30c65b6d4503624
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
This commit is contained in:
Wang Panzhenzhuan
2025-08-28 15:04:15 +08:00
committed by Tao Huang
parent ea8ce0984a
commit 7552dcf31c

View File

@@ -1322,6 +1322,8 @@ static int sditf_s_power(struct v4l2_subdev *sd, int on)
if (on && atomic_inc_return(&priv->power_cnt) > 1)
return 0;
rkcif_update_sensor_info(&cif_dev->stream[0]);
if (on)
rkcif_update_unite_extend_pixel(cif_dev);
if (cif_dev->chip_id >= CHIP_RK3588_CIF) {