mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
media: rockchip: isp: enable soft reset for other isp version
Change-Id: I620718f555f091d2ca53214c3fd3cd1a44107692 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -543,12 +543,11 @@ void rkisp_soft_reset(struct rkisp_hw_dev *dev, bool is_secure)
|
||||
udelay(10);
|
||||
}
|
||||
|
||||
if (dev->isp_ver == ISP_V20) {
|
||||
/* reset for Dehaze */
|
||||
/* reset for Dehaze */
|
||||
if (dev->isp_ver == ISP_V20)
|
||||
writel(CIF_ISP_CTRL_ISP_MODE_BAYER_ITU601, base + CIF_ISP_CTRL);
|
||||
writel(0xffff, base + CIF_IRCL);
|
||||
udelay(10);
|
||||
}
|
||||
writel(0xffff, base + CIF_IRCL);
|
||||
udelay(10);
|
||||
|
||||
if (domain)
|
||||
iommu_attach_device(domain, dev->dev);
|
||||
|
||||
Reference in New Issue
Block a user