ARM: davinci: da8xx: define gpio interrupts as separate resources
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 21 Nov 2018 09:35:12 +0000 (10:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Sep 2019 06:21:55 +0000 (08:21 +0200)
commit0a6c3bdae2c9a433d932f36a9ecd8f1ad511d0f8
tree5fe7419b78cd43c54e24ff805c05a8ce843f4822
parent016218ef6bb057ac494ea59caeb928492c2fcb6e
ARM: davinci: da8xx: define gpio interrupts as separate resources

[ Upstream commit 58a0afbf4c99ac355df16773af835b919b9432ee ]

Since commit eb3744a2dd01 ("gpio: davinci: Do not assume continuous
IRQ numbering") the davinci GPIO driver fails to probe if we boot
in legacy mode from any of the board files. Since the driver now
expects every interrupt to be defined as a separate resource, split
the definition of IRQ resources instead of having a single continuous
interrupt range.

Fixes: eb3744a2dd01 ("gpio: davinci: Do not assume continuous IRQ numbering")
Cc: stable@vger.kernel.org
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/mach-davinci/devices-da8xx.c