aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c')
-rw-r--r--src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c b/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c
index ec8bdfc2bf..e61ecfd8c1 100644
--- a/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c
+++ b/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c
@@ -17,7 +17,7 @@ static void crosec_i2c_tunnel_fill_ssdt(const struct device *dev)
struct ec_google_chromeec_i2c_tunnel_config *cfg = dev->chip_info;
struct acpi_dp *dsd;
- if (!dev->enabled || !scope || !cfg)
+ if (!scope || !cfg)
return;
acpigen_write_scope(scope);