[GIT PULL] Late GPIO fixes for v5.10

From: Linus Walleij
Date: Fri Dec 11 2020 - 03:40:44 EST


Hi Linus,

these are hopefully the last GPIO fixes for this cycle. All are driver
fixes except a small resource leak for pin ranges in the gpiolib.
Two are PM related, which is nice because when developers start
to find PM bugs it is usually because they have smoked out the
bugs of more severe nature.

Please pull it in!

Yours,
Linus Walleij

The following changes since commit b65054597872ce3aefbc6a666385eabdf9e288da:

Linux 5.10-rc6 (2020-11-29 15:50:50 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git
tags/v5.10-3

for you to fetch changes up to 263ade7166a2e589c5b605272690c155c0637dcb:

gpio: eic-sprd: break loop when getting NULL device resource
(2020-12-09 09:41:49 +0100)

----------------------------------------------------------------
GPIO fixes for the v5.10 kernel series:

- Fix runtime PM balancing on the errorpath of the Arizona driver.
- Fix a suspend NULL pointer reference in the dwapb driver.
- Balance free:ing in gpiochip_generic_free()
- Fix runtime PM balancing on the errorpath of the zynq driver.
- Fix irqdomain use-after-free in the mvebu driver.
- Break an eternal loop in the spreadtrum EIC driver.

----------------------------------------------------------------
Baruch Siach (1):
gpio: mvebu: fix potential user-after-free on probe

Chunyan Zhang (1):
gpio: eic-sprd: break loop when getting NULL device resource

Edmond Chung (1):
gpiolib: Don't free if pin ranges are not defined

Linus Walleij (1):
Merge tag 'gpio-fixes-for-v5.10-rc7' of
git://git.kernel.org/.../brgl/linux into fixes

Luo Jiaxing (1):
gpio: dwapb: fix NULL pointer dereference at dwapb_gpio_suspend()

Qinglang Miao (1):
gpio: zynq: fix reference leak in zynq_gpio functions

Zheng Liang (1):
gpio: arizona: disable pm_runtime in case of failure

drivers/gpio/gpio-arizona.c | 1 +
drivers/gpio/gpio-dwapb.c | 2 ++
drivers/gpio/gpio-eic-sprd.c | 2 +-
drivers/gpio/gpio-mvebu.c | 16 +++++++++++-----
drivers/gpio/gpio-zynq.c | 4 ++--
drivers/gpio/gpiolib.c | 5 +++++
6 files changed, 22 insertions(+), 8 deletions(-)