diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-04 09:57:30 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-11-06 09:51:30 +0800 |
commit | be1cee11b26880c385d9ce1d84792403a59f8855 (patch) | |
tree | d9af39c218ae3da65f62eb108722780ffa81de2f /arch/x86/lib/acpi_table.c | |
parent | dd30c5bb574aba55e99284dbdfe0d6033bf44d7f (diff) |
acpi: Correct reset handling in acpi_device_add_power_res()
If there is no reset line, this still emits ACPI code for the reset GPIO.
Fix it by updating the check.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/lib/acpi_table.c')
0 files changed, 0 insertions, 0 deletions