summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-aspeed.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@codeconstruct.com.au>2020-09-11 04:51:05 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-09-24 16:10:56 +0300
commitbf0d394e885015941ed2d5724c0a6ed8d42dd95e (patch)
tree69e8e9d46fc90eebf204859594bb67d0fb1aae79 /drivers/gpio/gpio-aspeed.c
parentac67b07e268d46eba675a60c37051bb3e59fd201 (diff)
downloadlinux-bf0d394e885015941ed2d5724c0a6ed8d42dd95e.tar.xz
gpio/aspeed-sgpio: don't enable all interrupts by default
Currently, the IRQ setup for the SGPIO driver enables all interrupts in dual-edge trigger mode. Since the default handler is handle_bad_irq, any state change on input GPIOs will trigger bad IRQ warnings. This change applies sensible IRQ defaults: single-edge trigger, and all IRQs disabled. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Fixes: 7db47faae79b ("gpio: aspeed: Add SGPIO driver") Reviewed-by: Joel Stanley <joel@jms.id.au> Acked-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio/gpio-aspeed.c')
0 files changed, 0 insertions, 0 deletions