[GIT PULL] gpio: fixes for v5.17-rc4

From: Bartosz Golaszewski
Date: Fri Feb 11 2022 - 08:08:10 EST


Linus,

Please pull the following set of fixes from the GPIO subsystem for the next
release candidate.

Best Regards,
Bartosz Golaszewski

The following changes since commit 26291c54e111ff6ba87a164d85d4a4e134b7315c:

Linux 5.17-rc2 (2022-01-30 15:37:07 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v5.17-rc4

for you to fetch changes up to c162ca0bcbfb39308c4dff4157e27c751af7032a:

gpio: sim: fix hogs with custom chip labels (2022-02-09 11:41:29 +0100)

----------------------------------------------------------------
gpio fixes for v5.17-rc4

- use sleeping variants of GPIO accessors where needed in gpio-aggregator
- never return kernel's internal error codes to user-space in gpiolib core
- use the correct register for reading output values in gpio-sifive
- fix line hogging in gpio-sim

----------------------------------------------------------------
Andy Shevchenko (1):
gpiolib: Never return internal error codes to user space

Bartosz Golaszewski (1):
gpio: sim: fix hogs with custom chip labels

Geert Uytterhoeven (1):
gpio: aggregator: Fix calling into sleeping GPIO controllers

Niklas Cassel (1):
gpio: sifive: use the correct register to read output values

drivers/gpio/gpio-aggregator.c | 18 ++++++++++++++----
drivers/gpio/gpio-sifive.c | 2 +-
drivers/gpio/gpio-sim.c | 19 +++++++++++++++----
drivers/gpio/gpiolib-cdev.c | 6 +++---
drivers/gpio/gpiolib-sysfs.c | 7 ++-----
drivers/gpio/gpiolib.h | 12 ++++++++++++
6 files changed, 47 insertions(+), 17 deletions(-)