]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: ep93xx: Fix port F hwirq numbers in handler
authorNikita Shubin <nikita.shubin@maquefel.me>
Wed, 25 Jan 2023 08:30:24 +0000 (11:30 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2023 07:34:47 +0000 (08:34 +0100)
commit2cd811287f11c328fbb8ada93a5ebb9bcce369a5
treed56d434d757fa64f9723ccd0a1f5f49002f88e5f
parentf74962b5a419dbe58c00699500b3ba1d10366c7c
gpio: ep93xx: Fix port F hwirq numbers in handler

[ Upstream commit 037f543935f1b212a99753a5a45ad05b63c12970 ]

Fix wrong translation of irq numbers in port F handler, as ep93xx hwirqs
increased by 1, we should simply decrease them by 1 in translation.

Fixes: bed8615a79bd ("ARM: ep93xx: renumber interrupts")
Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpio/gpio-ep93xx.c