From c1b9dbbf5b9c83e2f1b702eb1386adc7d2ac4057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonny=20Sv=C3=A4rd?= Date: Fri, 5 Nov 2021 12:41:23 +0100 Subject: Fix incorrect enum type used No functional change as they both evaluate to the same numerical value. Change-Id: Ia84c19e08defa63067755389857c967698127d8c --- src/ethosu_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.1