mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
media: rockchip: isp: fix mipi error for isp2x with multi sensor
Change-Id: Icdd6536bed9890c2b856ee28da805ee5f1cbfc17 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -1915,6 +1915,10 @@ static inline void force_cfg_update(struct rkisp_device *dev)
|
||||
u32 val = CIF_MI_CTRL_INIT_OFFSET_EN | CIF_MI_CTRL_INIT_BASE_EN;
|
||||
bool is_unite = dev->hw_dev->is_unite;
|
||||
|
||||
if (dev->isp_ver == ISP_V20 || dev->isp_ver == ISP_V21) {
|
||||
val |= rkisp_read_reg_cache(dev, CIF_MI_CTRL);
|
||||
rkisp_write(dev, CIF_MI_CTRL, val, true);
|
||||
}
|
||||
dev->hw_dev->is_mi_update = true;
|
||||
rkisp_unite_set_bits(dev, CIF_MI_CTRL, 0, val, false, is_unite);
|
||||
val = CIF_MI_INIT_SOFT_UPD;
|
||||
|
||||
Reference in New Issue
Block a user