diff options
author | Steven Lee <steven_lee@aspeedtech.com> | 2021-07-12 13:03:14 +0300 |
---|---|---|
committer | Jae Hyun Yoo <jae.hyun.yoo@intel.com> | 2021-09-13 19:11:15 +0300 |
commit | 8729a4b73e415e08fb4ce568c2b6fca022c8f0c7 (patch) | |
tree | e38641a3841dfa2b4a3898fa8e38fdfb065956ce /lib/mpi/mpiutil.c | |
parent | 48e0b277d62c5838c046e50530f1aca3f1b6f33a (diff) | |
download | linux-8729a4b73e415e08fb4ce568c2b6fca022c8f0c7.tar.xz |
gpio: gpio-aspeed-sgpio: Move irq_chip to aspeed-sgpio struct
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@aspeedtech.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions