mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
video: rockchip: vehicle: fix rk3576 can't change virtual channel issue
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com> Change-Id: I95b3a9e5b376eb9026d0c91f0ac5817886094572
This commit is contained in:
committed by
Tao Huang
parent
8da27454ad
commit
2d31a747d3
@@ -3570,7 +3570,7 @@ static int vehicle_cif_csi2_s_stream_v1(struct vehicle_cif *cif,
|
||||
val |= CSI_UVDS_EN;
|
||||
rkcif_write_reg(cif, get_reg_index_of_id_ctrl0(channel->id), val);
|
||||
|
||||
val = channel->data_type << 2;
|
||||
val = channel->id | channel->data_type << 2;
|
||||
rkcif_write_reg(cif, get_reg_index_of_id_ctrl1(channel->id), val);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user