From 2eb15354b75bfa95e94c7a8d0f2db540b19fcd77 Mon Sep 17 00:00:00 2001 From: Sebastian Leonhardt Date: Tue, 19 May 2020 00:21:41 +0200 Subject: [PATCH] fix plugin test_boost not properly unboosting Change-Id: Ib33bb58fc7006c03caa692c377860bfdf463298e --- apps/plugins/test_boost.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/plugins/test_boost.c b/apps/plugins/test_boost.c index ec91206d1e..b4beb5161a 100644 --- a/apps/plugins/test_boost.c +++ b/apps/plugins/test_boost.c @@ -72,6 +72,12 @@ enum plugin_status plugin_start(const void* parameter) break; #endif case ACTION_STD_CANCEL: +#ifdef HAVE_ADJUSTABLE_CPU_FREQ + if (boost) + { + rb->cpu_boost(false); + } +#endif done = true; break; }