summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2020-08-10 22:18:12 +0800
committerPeng Fan <peng.fan@nxp.com>2020-08-10 22:18:12 +0800
commit083bfb8fc1960550f4f50fe86b633655faa155b3 (patch)
treef5c39d903ebd55a559d9e9bf3a68019b168af370 /arch
parent30184042fba5f2dff4511da12327e644f22aa483 (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.c2
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;
}
/*