[PATCH v6 7/9] gpio: gpio-aspeed-sgpio: Move irq_chip to aspeed-sgpio struct
linus.walleij at linaro.org
Fri Jul 23 19:59:18 AEST 2021
On Mon, Jul 12, 2021 at 12:04 PM Steven Lee <steven_lee at aspeedtech.com> wrote:
> The current design initializes irq->chip from a global irqchip struct,
> which causes multiple sgpio devices use the same irq_chip.
> The patch moves irq_chip to aspeed_sgpio struct for initializing
> irq_chip from their private gpio struct.
> Signed-off-by: Steven Lee <steven_lee at aspeedtech.com>
> Reviewed-by: Andrew Jeffery <andrew at aj.id.au>
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
More information about the Linux-aspeed