summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/rt1011/rt1011.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/rt1011/rt1011.c')
-rw-r--r--src/drivers/i2c/rt1011/rt1011.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/rt1011/rt1011.c b/src/drivers/i2c/rt1011/rt1011.c
index d1732f7440..70f1881b6c 100644
--- a/src/drivers/i2c/rt1011/rt1011.c
+++ b/src/drivers/i2c/rt1011/rt1011.c
@@ -28,7 +28,7 @@ static void rt1011_fill_ssdt(const struct device *dev)
struct acpi_dp *dp;
uint64_t r0_value, temp_value;
- if (!dev->enabled || !scope)
+ if (!scope)
return;
/* Device */