mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
media: rockchip: isp: fix isp32 lite mainpath switch fail
Change-Id: I90f65bd537721c62508f67f16db85ec6b8751ce7 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -666,7 +666,10 @@ int rkisp_csi_config_patch(struct rkisp_device *dev)
|
||||
if (dev->isp_ver >= ISP_V30)
|
||||
rkisp_unite_set_bits(dev, CTRL_SWS_CFG, 0, ISP3X_SW_ACK_FRM_PRO_DIS,
|
||||
true, dev->hw_dev->is_unite);
|
||||
|
||||
/* line counter from isp out, default from mp out */
|
||||
if (dev->isp_ver == ISP_V32_L)
|
||||
rkisp_unite_set_bits(dev, CTRL_SWS_CFG, 0, ISP32L_ISP2ENC_CNT_MUX,
|
||||
true, dev->hw_dev->is_unite);
|
||||
dev->rdbk_cnt = -1;
|
||||
dev->rdbk_cnt_x1 = -1;
|
||||
dev->rdbk_cnt_x2 = -1;
|
||||
|
||||
@@ -1870,6 +1870,7 @@
|
||||
#define ISP32_BRSZ_CLK_ENABLE BIT(13)
|
||||
|
||||
/* SWS_CFG */
|
||||
#define ISP32L_ISP2ENC_CNT_MUX BIT(0)
|
||||
#define ISP3X_SW_ACK_FRM_PRO_DIS BIT(3)
|
||||
#define ISP3X_3A_DDR_WRITE_EN BIT(24)
|
||||
#define ISP3X_SW_MIPI2ISP_FIFO_DIS BIT(25)
|
||||
|
||||
Reference in New Issue
Block a user