projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece7844
)
imx8m: clock_imx8mm: add missed return
author
Peng Fan
<peng.fan@nxp.com>
Wed, 16 Sep 2020 07:17:21 +0000
(15:17 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Thu, 17 Sep 2020 12:40:17 +0000
(14:40 +0200)
Add missed return
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8m/clock_imx8mm.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/imx8m/clock_imx8mm.c
b/arch/arm/mach-imx/imx8m/clock_imx8mm.c
index 3610f5b2fca5a9a0f12b16a75a8f0ca91df2e175..9dde11cdedff7d629c7d11e5d23c2bb7ec3592c0 100644
(file)
--- a/
arch/arm/mach-imx/imx8m/clock_imx8mm.c
+++ b/
arch/arm/mach-imx/imx8m/clock_imx8mm.c
@@
-360,6
+360,7
@@
void init_clk_ecspi(u32 index)
clock_enable(CCGR_ECSPI2, 0);
clock_set_target_val(ECSPI2_CLK_ROOT, CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(0));
clock_enable(CCGR_ECSPI2, 1);
+ return;
case 2:
clock_enable(CCGR_ECSPI3, 0);
clock_set_target_val(ECSPI3_CLK_ROOT, CLK_ROOT_ON | CLK_ROOT_SOURCE_SEL(0));