summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-01-20 01:19:49 +0100
committerSamuel Pitoiset <[email protected]>2017-01-20 10:33:47 +0100
commit383fc8e9f340e80695aca2cd585957af0e081eb9 (patch)
tree28615bd850fac82468058ad639a03d25d47e4038
parent4148881513b1cba6d4737803cc903546e59d5b91 (diff)
gallium/hud: add missing break in hud_cpufreq_graph_install()
Fixes: e99b9395bef "gallium/hud: Add support for CPU frequency monitoring" Cc: [email protected] Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
-rw-r--r--src/gallium/auxiliary/hud/hud_cpufreq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/hud/hud_cpufreq.c b/src/gallium/auxiliary/hud/hud_cpufreq.c
index 19a6f08c4fc..78754b28a9e 100644
--- a/src/gallium/auxiliary/hud/hud_cpufreq.c
+++ b/src/gallium/auxiliary/hud/hud_cpufreq.c
@@ -149,6 +149,7 @@ hud_cpufreq_graph_install(struct hud_pane *pane, int cpu_index,
break;
case CPUFREQ_MAXIMUM:
snprintf(gr->name, sizeof(gr->name), "%s-Max", cfi->name);
+ break;
default:
return;
}