summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Leonhardt <sebastian.leonhardt@web.de>2020-05-19 00:21:41 +0200
committerSolomon Peachy <pizza@shaftnet.org>2020-05-24 13:43:30 +0200
commit2eb15354b75bfa95e94c7a8d0f2db540b19fcd77 (patch)
treec656bff8495dba996f6cf24a042b37fc12a13cca
parentea9ed2f9e81f050d382cea795419e8f550c7bc89 (diff)
downloadrockbox-2eb15354b75bfa95e94c7a8d0f2db540b19fcd77.tar.gz
rockbox-2eb15354b75bfa95e94c7a8d0f2db540b19fcd77.zip
fix plugin test_boost not properly unboosting
Change-Id: Ib33bb58fc7006c03caa692c377860bfdf463298e
-rw-r--r--apps/plugins/test_boost.c6
1 files changed, 6 insertions, 0 deletions
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)
72 break; 72 break;
73#endif 73#endif
74 case ACTION_STD_CANCEL: 74 case ACTION_STD_CANCEL:
75#ifdef HAVE_ADJUSTABLE_CPU_FREQ
76 if (boost)
77 {
78 rb->cpu_boost(false);
79 }
80#endif
75 done = true; 81 done = true;
76 break; 82 break;
77 } 83 }