summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorJulien Grossholtz <julien.grossholtz@savoirfairelinux.com>2016-01-07 22:46:45 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-01-13 10:57:49 +0100
commit96098df125c0a966631ec114081d8f5630a0e4b8 (patch)
tree9fff67b9fc70a91072fdb1f482fe12eee7b5f748 /include/trace
parentgpio: mpc8xxx: Do not use gpiochip_get_data() in mpc8xxx_gpio_save_regs() (diff)
downloadlinux-96098df125c0a966631ec114081d8f5630a0e4b8.tar.xz
linux-96098df125c0a966631ec114081d8f5630a0e4b8.zip
gpiolib: fix chip order in gpio list
In some situations the gpio_list order is not correct. As a consequence gpiochip_find_base returns the same base number twice. This happens when a first ship is added with manual base number, then other ships are added using automatic base number. To prevent this behaviour, this patch add the new chip after the last element of the gpio list. Signed-off-by: Julien Grossholtz <julien.grossholtz@savoirfairelinux.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions