fix plugin test_boost not properly unboosting

Change-Id: Ib33bb58fc7006c03caa692c377860bfdf463298e
This commit is contained in:
Sebastian Leonhardt 2020-05-19 00:21:41 +02:00 committed by Solomon Peachy
parent ea9ed2f9e8
commit 2eb15354b7

View file

@ -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;
}