diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-04-09 13:28:50 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-04-09 13:28:50 -0700 |
commit | 289b7bfd483c8ca3dfde92d7e19a8b70e0b81248 (patch) | |
tree | 364c942c06a31305da5b3932fb064a63166ddad0 /lib | |
parent | 183c948a3cb3efbf45eabed41fa7ee04c19378fc (diff) | |
parent | 9b8e3ec34318663affced3c14d960e78d760dd9a (diff) | |
download | linux-289b7bfd483c8ca3dfde92d7e19a8b70e0b81248.tar.bz2 |
Merge tag 'gpio-v4.6-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio
Pull GPIO fixes from Linus Walleij:
"Here is a set of four GPIO fixes. The two fixes to the core are
serious as they are regressing minor architectures.
Core fixes:
- Defer GPIO device setup until after gpiolib is initialized.
It turns out that a few very tightly integrated GPIO platform
drivers initialize so early (befor core_initcall()) so that the
gpiolib isn't even initialized itself. That limits what the
library can do, and we cannot reference uninitialized fields until
later.
Defer some of the initialization until right after the gpiolib is
initialized in these (rare) cases.
- As a consequence: do not use devm_* resources when allocating the
states in the initial set-up of the gpiochip.
Driver fixes:
- In ACPI retrieveal: ignore GpioInt when looking for output GPIOs.
- Fix legacy builds on the PXA without a backing pin controller.
- Use correct datatype on pca953x register writes"
* tag 'gpio-v4.6-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
gpio: pca953x: Use correct u16 value for register word write
gpiolib: Defer gpio device setup until after gpiolib initialization
gpiolib: Do not use devm functions when registering gpio chip
gpio: pxa: fix legacy non pinctrl aware builds
gpio / ACPI: ignore GpioInt() GPIOs when requesting GPIO_OUT_*
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions