Skip to content
Commit bf0d394e authored by Jeremy Kerr's avatar Jeremy Kerr Committed by Bartosz Golaszewski
Browse files

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: default avatarJeremy Kerr <jk@codeconstruct.com.au>
Fixes: 7db47faa ("gpio: aspeed: Add SGPIO driver")
Reviewed-by: default avatarJoel Stanley <joel@jms.id.au>
Acked-by: default avatarAndrew Jeffery <andrew@aj.id.au>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent ac67b07e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment