diff options
-rw-r--r-- | src/drivers/i2c/generic/generic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/i2c/generic/generic.c b/src/drivers/i2c/generic/generic.c index 1875bacb2d..27bef49218 100644 --- a/src/drivers/i2c/generic/generic.c +++ b/src/drivers/i2c/generic/generic.c @@ -149,6 +149,7 @@ void i2c_generic_fill_ssdt(const struct device *dev, /* Rotation Matrix */ if (config->has_rotation_matrix) { acpigen_write_method("ROTM", 0); + acpigen_write_name("RBUF"); acpigen_write_package(3); for (int i = 0; i < 3; i++) { @@ -160,6 +161,8 @@ void i2c_generic_fill_ssdt(const struct device *dev, acpigen_write_string(matrix_row); } + acpigen_pop_len(); + acpigen_write_return_namestr("RBUF"); acpigen_pop_len(); acpigen_pop_len(); |