coreboot/src/drivers/generic
Raul E Rangel 066a9af02c drivers/generic/max98357a: Don't write device if HID is missing
If the device is missing the HID, the code would previously leave an
open scope and device on the stack.

BUG=b:154756391
TEST=Verify stack ACPI stack does not exceed limit on Trembyle.

Fixes: a1c82c5ebe ("drivers/generic/max98357a: Allow custom _HID from config")
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I798ed08ef0a0575def12937a66a7ce99f743e60d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42014
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2020-06-03 19:17:36 +00:00
..
adau7002 src: Remove unused '#include <stdint.h>' 2020-05-13 08:48:17 +00:00
bayhub treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cbfs-serial treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
generic src: Remove unused '#include <stdint.h>' 2020-05-13 08:48:17 +00:00
gpio_keys treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
gpio_regulator src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
ioapic treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
max98357a drivers/generic/max98357a: Don't write device if HID is missing 2020-06-03 19:17:36 +00:00