commit | c235fe612c7105f01343b1470db606de97355a9c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Nov 04 09:57:30 2020 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Fri Nov 06 09:51:30 2020 +0800 |
tree | d9af39c218ae3da65f62eb108722780ffa81de2f | |
parent | 4304e97d91bb607298b59ec6361374cc511ac999 [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>