diff options
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/generic/max98357a/max98357a.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/generic/max98357a/max98357a.c b/src/drivers/generic/max98357a/max98357a.c index bd45296bcd..575548bd27 100644 --- a/src/drivers/generic/max98357a/max98357a.c +++ b/src/drivers/generic/max98357a/max98357a.c @@ -26,15 +26,15 @@ static void max98357a_fill_ssdt(const struct device *dev) if (!scope || !name) return; - /* Device */ - acpigen_write_scope(scope); - acpigen_write_device(name); - if (!config->hid) { printk(BIOS_ERR, "%s: ERROR: _HID required\n", dev_path(dev)); return; } + /* Device */ + acpigen_write_scope(scope); + acpigen_write_device(name); + acpigen_write_name_string("_HID", config->hid); acpigen_write_name_integer("_UID", 0); acpigen_write_name_string("_DDN", dev->chip_ops->name); |