mbox

[GIT,PULL] GPIO fixes for the v4.6 series, take two

Message ID CACRpkdaUwt932jq6X9g2J_F=EJip2oV-zd2wTtYSCSE_WLDd=A@mail.gmail.com
State New
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git

Message

Linus Walleij April 9, 2016, 7:25 p.m. UTC
Hi Linus,

here is a set of four GPIO fixes, the two fixes to the core are
serious as they are regressing minor architectures.

Detailed information in the signed tag as usual.

Please pull them in!

Yours,
Linus Walleij

The following changes since commit 9735a22799b9214d17d3c231fe377fc852f042e9:

  Linux 4.6-rc2 (2016-04-03 09:09:40 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git
tags/gpio-v4.6-3

for you to fetch changes up to 9b8e3ec34318663affced3c14d960e78d760dd9a:

  gpio: pca953x: Use correct u16 value for register word write
(2016-04-08 11:49:47 +0200)

----------------------------------------------------------------
GPIO fixes for the V4.6 series:

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.

----------------------------------------------------------------
Dmitry Torokhov (1):
      gpio / ACPI: ignore GpioInt() GPIOs when requesting GPIO_OUT_*

Guenter Roeck (2):
      gpiolib: Do not use devm functions when registering gpio chip
      gpiolib: Defer gpio device setup until after gpiolib initialization

Robert Jarzmik (1):
      gpio: pxa: fix legacy non pinctrl aware builds

Yong Li (1):
      gpio: pca953x: Use correct u16 value for register word write

 drivers/gpio/gpio-pca953x.c |   3 +-
 drivers/gpio/gpio-pxa.c     |   4 +-
 drivers/gpio/gpiolib.c      | 133 ++++++++++++++++++++++++++++++--------------
 3 files changed, 95 insertions(+), 45 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html