summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mx7/clock.c
diff options
context:
space:
mode:
authorJun Nie <jun.nie@linaro.org>2019-05-08 14:38:31 +0800
committerStefano Babic <sbabic@denx.de>2019-06-11 10:42:48 +0200
commit79fcbde8eb57a0dfc9761c4ba167186843d7a707 (patch)
treea10e0f01ee43d5c15d793023a4686beac5fe5b45 /arch/arm/mach-imx/mx7/clock.c
parentbc7c9ed33c685a8285e4fcf2a9f24499f14026a9 (diff)
pico-imx7d: Correct uart clock root
Correct uart clock root ID. Incorrect ID may result the clock is gated because rate value 0 is returned in imx_get_uartclk() The ID can be ignored if CONFIG_SKIP_LOWLEVEL_INIT is not enabled because init_clk_uart() will enable all uart clocks in that case. Signed-off-by: Jun Nie <jun.nie@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/mx7/clock.c')
-rw-r--r--arch/arm/mach-imx/mx7/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mx7/clock.c b/arch/arm/mach-imx/mx7/clock.c
index 8cda71cf55..e364b162d9 100644
--- a/arch/arm/mach-imx/mx7/clock.c
+++ b/arch/arm/mach-imx/mx7/clock.c
@@ -53,7 +53,7 @@ static u32 get_ipg_clk(void)
u32 imx_get_uartclk(void)
{
- return get_root_clk(UART1_CLK_ROOT);
+ return get_root_clk(UART_CLK_ROOT);
}
u32 imx_get_fecclk(void)