aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c/nau8825/nau8825.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/nau8825/nau8825.c')
-rw-r--r--src/drivers/i2c/nau8825/nau8825.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/nau8825/nau8825.c b/src/drivers/i2c/nau8825/nau8825.c
index e995ebd06d..a0769d0422 100644
--- a/src/drivers/i2c/nau8825/nau8825.c
+++ b/src/drivers/i2c/nau8825/nau8825.c
@@ -30,7 +30,7 @@ static void nau8825_fill_ssdt(const struct device *dev)
};
struct acpi_dp *dp = NULL;
- if (!dev->enabled || !scope)
+ if (!scope)
return;
if (config->sar_threshold_num > NAU8825_MAX_BUTTONS)
return;