diff options
author | Peng Fan <peng.fan@nxp.com> | 2020-08-10 22:18:12 +0800 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-08-10 22:18:12 +0800 |
commit | 083bfb8fc1960550f4f50fe86b633655faa155b3 (patch) | |
tree | f5c39d903ebd55a559d9e9bf3a68019b168af370 /arch | |
parent | 30184042fba5f2dff4511da12327e644f22aa483 (diff) |
Revert "LF-1928 imx7ulp: scg: remove dead switch"
This reverts commit 70dc02f0e0227f872e9df93f186606113791049c.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/mx7ulp/scg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mx7ulp/scg.c b/arch/arm/mach-imx/mx7ulp/scg.c index e01f5545730..b74e54ee88b 100644 --- a/arch/arm/mach-imx/mx7ulp/scg.c +++ b/arch/arm/mach-imx/mx7ulp/scg.c @@ -408,6 +408,8 @@ static u32 scg_nic_get_rate(enum scg_clk clk) mask = SCG_NICCSR_NIC1BUSDIV_MASK; shift = SCG_NICCSR_NIC1BUSDIV_SHIFT; break; + default: + return 0; } /* |