aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c/sx9310/sx9310.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/sx9310/sx9310.c')
-rw-r--r--src/drivers/i2c/sx9310/sx9310.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/sx9310/sx9310.c b/src/drivers/i2c/sx9310/sx9310.c
index c12e4ea524..8dc57a2d98 100644
--- a/src/drivers/i2c/sx9310/sx9310.c
+++ b/src/drivers/i2c/sx9310/sx9310.c
@@ -28,7 +28,7 @@ static void i2c_sx9310_fill_ssdt(const struct device *dev)
};
struct acpi_dp *dsd;
- if (!dev->enabled || !scope || !config)
+ if (!scope || !config)
return;
if (config->speed)