Skip to content
Commit 550713e3 authored by Lars Povlsen's avatar Lars Povlsen Committed by Linus Walleij
Browse files

pinctrl: ocelot: Always register GPIO driver



This fixes the situation where the GPIO controller is not
used as an interrupt controller as well.

Previously, the driver would silently fail to register even the
GPIO's. With this change, the driver will only register as an
interrupt controller if a parent interrupt is provided.

Reviewed-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarLars Povlsen <lars.povlsen@microchip.com>
Link: https://lore.kernel.org/r/20200513125532.24585-2-lars.povlsen@microchip.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5d590738
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment