aboutsummaryrefslogtreecommitdiff
path: root/src/ethosu_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ethosu_driver.c')
-rw-r--r--src/ethosu_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ethosu_driver.c b/src/ethosu_driver.c
index b5e3973..cfff045 100644
--- a/src/ethosu_driver.c
+++ b/src/ethosu_driver.c
@@ -676,7 +676,7 @@ enum ethosu_error_codes set_clock_and_power_request(struct ethosu_driver *drv,
{
drv->power_request |= (1 << client);
}
- else if (power_request == ETHOSU_CLOCK_Q_ENABLE)
+ else if (power_request == ETHOSU_POWER_Q_ENABLE)
{
drv->power_request &= ~(1 << client);
}