Skip to content
Commit 25fcf2b7 authored by Hartmut Knaack's avatar Hartmut Knaack Committed by Grant Likely
Browse files

gpio-pca953x: fix gpio_base



gpio_base was set to 0 if no system platform data or open firmware
platform data was provided. This led to conflicts, if any other gpiochip
with a gpiobase of 0 was instantiated already. Setting it to -1 will
automatically use the first one available.

Signed-off-by: default avatarHartmut Knaack <knaack.h@gmx.de>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 78a43158
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment