commit | f0be9e34728070c8965a8a31832660a678881886 | [log] [tgz] |
---|---|---|
author | Akihiko Odaki <akihiko.odaki@gmail.com> | Wed Apr 06 15:37:59 2022 +0900 |
committer | Felix Held <felix-coreboot@felixheld.de> | Thu Apr 07 16:20:59 2022 +0000 |
tree | 2bdf23e15e2dc7a465657ec6fb9bcdfc1e939e96 | |
parent | e8df93af91e347dae57b83ac7ccf29ba5ee2bab9 [diff] [blame] |
ec/google/chromeec: Initialize device_path subid Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com> Change-Id: I910998a5555319cf9840493a31df4934054e08ce Reviewed-on: https://review.coreboot.org/c/coreboot/+/63384 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
diff --git a/src/ec/google/chromeec/ec_acpi.c b/src/ec/google/chromeec/ec_acpi.c index 3d78128..7f94626 100644 --- a/src/ec/google/chromeec/ec_acpi.c +++ b/src/ec/google/chromeec/ec_acpi.c
@@ -270,6 +270,7 @@ /* Set up a minimal EC0 device to pass to the DPTF helpers */ path.type = DEVICE_PATH_GENERIC; path.generic.id = 0; + path.generic.subid = 0; ec = alloc_find_dev(dev->bus, &path); ec->ops = &ec_ops;