mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
imx8m: clock_imx8mm: add missed return
Add missed return Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
ece7844d8f
commit
a3e7d51fd5
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue