summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/common/block/cnvi/cnvi.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cnvi/cnvi.c b/src/soc/intel/common/block/cnvi/cnvi.c
index eff5044907..5899a94428 100644
--- a/src/soc/intel/common/block/cnvi/cnvi.c
+++ b/src/soc/intel/common/block/cnvi/cnvi.c
@@ -339,6 +339,25 @@ static void cnvw_fill_ssdt(const struct device *dev)
acpigen_pop_len();
acpigen_write_scope_end();
+
+/*
+ * Method (CFLR, 0, NotSerialized)
+ * {
+ * If (^CNVW.WFLR == One)
+ * {
+ * ^CNVW.WIFR = One
+ * }
+ * }
+ */
+ acpigen_write_method("CFLR", 0);
+ {
+ acpigen_write_if_lequal_namestr_int("^CNVW.WFLR", 1);
+ {
+ acpigen_write_store_int_to_namestr(1, "^CNVW.WIFR");
+ }
+ acpigen_pop_len();
+ }
+ acpigen_pop_len();
}
static struct device_operations cnvi_wifi_ops = {