mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
media: rockchip: isp: soft reset for Dehaze
Change-Id: Ie6f4b42bb1d5d37b6347c5cf65b7730794f22d7a Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -478,11 +478,13 @@ void rkisp_soft_reset(struct rkisp_hw_dev *dev)
|
||||
reset_control_assert(dev->reset);
|
||||
udelay(10);
|
||||
reset_control_deassert(dev->reset);
|
||||
} else {
|
||||
writel(CIF_ISP_CTRL_ISP_MODE_BAYER_ITU601, base + CIF_ISP_CTRL);
|
||||
writel(0xffff, base + CIF_IRCL);
|
||||
udelay(10);
|
||||
}
|
||||
/* reset for Dehaze */
|
||||
writel(CIF_ISP_CTRL_ISP_MODE_BAYER_ITU601, base + CIF_ISP_CTRL);
|
||||
writel(0xffff, base + CIF_IRCL);
|
||||
udelay(10);
|
||||
|
||||
if (domain) {
|
||||
#ifdef CONFIG_IOMMU_API
|
||||
domain->ops->detach_dev(domain, dev->dev);
|
||||
|
||||
Reference in New Issue
Block a user