From 154c9fa644f4400ea97a1cd700546b415bf35e02 Mon Sep 17 00:00:00 2001 From: dan huh Date: Mon, 9 Jul 2018 13:38:07 +0900 Subject: [PATCH] [9610] fimc-is2: Modify a regs_start addr for 3AA1 - not have a 3AA1 but internal use 3AA1 when front - 3AA0 offset 0x0, 3AA1 offset 0x4000 - 3AA1 reg dump is out of range 3AA0 so invalid memory PR JIRA ID: CPR-43 Change-Id: I3688c6c26751012b15c91e82c4c4f5f6aa195277 Signed-off-by: dan huh --- .../exynos/fimc-is2/ischain/fimc-is-v6_10_0/fimc-is-hw-chain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_10_0/fimc-is-hw-chain.c b/drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_10_0/fimc-is-hw-chain.c index 164e6b9457a9..d622fb5891f2 100644 --- a/drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_10_0/fimc-is-hw-chain.c +++ b/drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_10_0/fimc-is-hw-chain.c @@ -823,7 +823,7 @@ int fimc_is_hw_get_address(void *itfc_data, void *pdev_data, int hw_id) return -EINVAL; } - itf_hwip->hw_ip->regs_start = mem_res->start; + itf_hwip->hw_ip->regs_start = mem_res->start + LIC_3AA1_OFFSET_ADDR; itf_hwip->hw_ip->regs_end = mem_res->end; itf_hwip->hw_ip->regs = ioremap_nocache(mem_res->start, resource_size(mem_res)) + LIC_3AA1_OFFSET_ADDR; if (!itf_hwip->hw_ip->regs) { -- 2.20.1