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)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 23 Mar 2018 07:49:35 +0000 (08:49 +0100)
commit4b0556a441dd37e598887215bc89b49a6ef525b3
tree683baf2164de1a4b82fafcd8eefdf90995de704c
parent4ee3fd4abeca30d530fe67972f1964f7454259d6
clk: rockchip: Fix wrong parent for SDMMC phase clock for rk3228

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>
drivers/clk/rockchip/clk-rk3228.c