clk: rockchip: Fix wrong parent for SDMMC phase clock for rk3228
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 21 Mar 2018 02:39:19 +0000 (10:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:17:52 +0000 (16:17 +0200)
commita225a3ba32137fb61ecf13f9dbe7aeb25e55d7cb
treee9abc0ac2a70bef8db4665e5db92d783710e755e
parent9311d0b6b4666fed722f712a285b0a7069409f30
clk: rockchip: Fix wrong parent for SDMMC phase clock for rk3228

[ Upstream commit 4b0556a441dd37e598887215bc89b49a6ef525b3 ]

commit c420c1e4db22 ("clk: rockchip: Prevent calculating mmc phase
if clock rate is zero") catches one gremlin again for clk-rk3228.c
that the parent of SDMMC phase clock should be sclk_sdmmc0, but not
sclk_sdmmc. However, the naming of the sdmmc clocks varies in the
manual with the card clock having the 0 while the hclk is named
without appended 0. So standardize one one format to prevent
confusion, as there also is only one (non-sdio) mmc controller on
the soc.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/rockchip/clk-rk3228.c