gpio-fsm: Fix shutdown timeout handling
authorPhil Elwell <phil@raspberrypi.com>
Wed, 17 Feb 2021 09:21:30 +0000 (09:21 +0000)
committerPhil Elwell <phil@raspberrypi.com>
Wed, 17 Feb 2021 09:21:30 +0000 (09:21 +0000)
commit4e5f3b6eda42b4b45089919bbcb5ab050bdc0b4e
tree1996020449ae7d39005ab492d38003c38e7cac92
parent99f6839ea85b34102359f302c0ab89314cfb506a
gpio-fsm: Fix shutdown timeout handling

The driver is intended to jump directly to a shutdown state in the
event of a timeout during shutdown, but the sense of the test was
inverted.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/gpio/gpio-fsm.c