commit | cd8f9b9ec697a380d27ee7f493478a2f815a427a | [log] [tgz] |
---|---|---|
author | Caleb Connolly <caleb.connolly@linaro.org> | Wed Nov 13 05:59:24 2024 +0100 |
committer | Tom Rini <trini@konsulko.com> | Wed Dec 04 14:06:23 2024 -0600 |
tree | 67f07c7d2089715097addfcddbd5598b716c033d | |
parent | 39b1beff1c35b30e4b1f8bb822f859520dda3024 [diff] |
button: gpio: handle broken controller Avoid crashing U-Boot when the GPIO controller for a button is disabled or failed to probe. We also need to check the priv data for each button since even if a button fails to probe it will still be polled by the core code. Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>