[PATCH] drivers: ram: rockchip: Fix dram channels calculation for rk3399

2022-05-15 Thread pengphei
From: Han Pengfei Only add the dram channel when we finally setup it successfully at the last step. Signed-off-by: Han Pengfei --- drivers/ram/rockchip/sdram_rk3399.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rock

[PATCH] drivers: ram: rockchip: Fix dram channels calculation for rk3399

2022-05-15 Thread pengphei
From: Han Pengfei Only add the dram channel when we finally setup it successfully at the last step. Signed-off-by: Han Pengfei --- drivers/ram/rockchip/sdram_rk3399.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rock