mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-07 15:31:11 +00:00
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>