mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
committed by
Tao Huang
parent
ea8ce0984a
commit
7552dcf31c
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user