diff options
author | Sebastian Leonhardt <sebastian.leonhardt@web.de> | 2020-05-19 00:21:41 +0200 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-05-24 13:43:30 +0200 |
commit | 2eb15354b75bfa95e94c7a8d0f2db540b19fcd77 (patch) | |
tree | c656bff8495dba996f6cf24a042b37fc12a13cca /apps/plugins/test_boost.c | |
parent | ea9ed2f9e81f050d382cea795419e8f550c7bc89 (diff) | |
download | rockbox-2eb15354b75bfa95e94c7a8d0f2db540b19fcd77.tar.gz rockbox-2eb15354b75bfa95e94c7a8d0f2db540b19fcd77.zip |
fix plugin test_boost not properly unboosting
Change-Id: Ib33bb58fc7006c03caa692c377860bfdf463298e
Diffstat (limited to 'apps/plugins/test_boost.c')
-rw-r--r-- | apps/plugins/test_boost.c | 6 |
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 | } |