summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristine Gharzuzi <chrisg@marvell.com>2017-07-24 16:15:53 +0300
committerKostya Porotchkin <kostap@marvell.com>2017-07-24 18:47:53 +0300
commitb5b425eb0bfa54d2b9d2b2e230fd2655f1657ced (patch)
treec1386400b9de16b014fce8da2ab84acd48104157
parent5bd9bc5c49a836d6581e345132d9b16b9375ac21 (diff)
fix: aro: Missing break command in switch case
in case the chosen frequency is 1000/800 the frequency is configured as 2000 Mhz due to missing break command in the case for 1000/800 so it is configured to the default frequency Change-Id: I86555f386d0661328e164f47c6681b9e809e96b2 Signed-off-by: Christine Gharzuzi <chrisg@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/42047 Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
-rw-r--r--drivers/marvell/aro.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/marvell/aro.c b/drivers/marvell/aro.c
index bc0fbe70..3eb16819 100644
--- a/drivers/marvell/aro.c
+++ b/drivers/marvell/aro.c
@@ -273,6 +273,7 @@ static int sar_freq_get(int dev_num, enum hws_freq *freq)
break;
case CPU_1000_DDR_800_RCLK_800:
*freq = CPU_FREQ_1000;
+ break;
default:
*freq = 0;
return -1;