[Sound-open-firmware] [PATCH] clk: add missing break in switch block

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Fri Mar 9 00:59:00 CET 2018


Make static analyzers happy by adding a break.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
---
 src/platform/baytrail/clk.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/platform/baytrail/clk.c b/src/platform/baytrail/clk.c
index fc1cd9d..fc535ca 100644
--- a/src/platform/baytrail/clk.c
+++ b/src/platform/baytrail/clk.c
@@ -214,6 +214,7 @@ uint32_t clock_set_freq(int clock, uint32_t hz)
 		/* tell anyone interested we have now changed CPU freq */
 		notifier_event(NOTIFIER_ID_SSP_FREQ, CLOCK_NOTIFY_POST,
 			&notify_data);
+		break;
 
 	default:
 		break;
-- 
2.14.1



More information about the Sound-open-firmware mailing list