H616 mmc clock is on same address as H6.

Signed-off-by: Jernej Skrabec <jernej.skra...@siol.net>
---
 drivers/mmc/sunxi_mmc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c
index d632b2332ca3..8458d154afd8 100644
--- a/drivers/mmc/sunxi_mmc.c
+++ b/drivers/mmc/sunxi_mmc.c
@@ -601,7 +601,8 @@ static unsigned get_mclk_offset(void)
        if (IS_ENABLED(CONFIG_MACH_SUN9I_A80))
                return 0x410;
 
-       if (IS_ENABLED(CONFIG_MACH_SUN50I_H6))
+       if (IS_ENABLED(CONFIG_MACH_SUN50I_H6) ||
+           IS_ENABLED(CONFIG_MACH_SUN50I_H616))
                return 0x830;
 
        return 0x88;
-- 
2.30.0

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/20210111201153.1800440-16-jernej.skrabec%40siol.net.

Reply via email to