While RK3588_INT_REG_START and RK3568_INT_REG_START are the same value, the implementation for rk3588 should use RK3588_INT_REG_START to avoid confusion.
Signed-off-by: Michael Tretter <m.tret...@pengutronix.de> --- arch/arm/mach-rockchip/dmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/dmc.c b/arch/arm/mach-rockchip/dmc.c index cf63fdb5a8bb6ea5a7474fcaa1590d4a7428ceab..62a7ef8f1e38e989e84f08f6f4a6586be3e85532 100644 --- a/arch/arm/mach-rockchip/dmc.c +++ b/arch/arm/mach-rockchip/dmc.c @@ -187,7 +187,7 @@ resource_size_t rk3588_ram0_size(void) pr_info("%s() size1 = 0x%08llx, size2 = 0x%08llx\n", __func__, (u64)size1, (u64)size2); - size = min_t(resource_size_t, RK3568_INT_REG_START, size1 + size2); + size = min_t(resource_size_t, RK3588_INT_REG_START, size1 + size2); return size; } -- 2.39.5