[GIT PULL] gpio: fixes for v6.10-rc6
From: Bartosz Golaszewski
Date: Fri Jun 28 2024 - 06:14:05 EST
Linus,
Please pull the following set of GPIO fixes for the next RC. We have an
assortment of driver fixes and two commits addressing a bad behavior of
the GPIO uAPI when reconfiguring requested lines.
Best Regards,
Bartosz Golaszewski
The following changes since commit 83a7eefedc9b56fe7bfeff13b6c7356688ffa670:
Linux 6.10-rc3 (2024-06-09 14:19:43 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v6.10-rc6
for you to fetch changes up to b440396387418fe2feaacd41ca16080e7a8bc9ad:
gpiolib: cdev: Ignore reconfiguration without direction (2024-06-27 17:21:28 +0200)
----------------------------------------------------------------
gpio fixes for v6.10-rc6
- fix a race condition in i2c transfers by adding a missing i2c lock
section in gpio-pca953x
- validate the number of obtained interrupts in gpio-davinci
- add missing raw_spinlock_init() in gpio-graniterapids
- fix bad character device behavior: disallow GPIO line reconfiguration
without set direction both in v1 and v2 uAPI
----------------------------------------------------------------
Aapo Vienamo (1):
gpio: graniterapids: Add missing raw_spinlock_init()
Aleksandr Mishin (1):
gpio: davinci: Validate the obtained number of IRQs
Ian Ray (1):
gpio: pca953x: fix pca953x_irq_bus_sync_unlock race
Kent Gibson (2):
gpiolib: cdev: Disallow reconfiguration without direction (uAPI v1)
gpiolib: cdev: Ignore reconfiguration without direction
drivers/gpio/gpio-davinci.c | 5 +++++
drivers/gpio/gpio-graniterapids.c | 2 ++
drivers/gpio/gpio-pca953x.c | 2 ++
drivers/gpio/gpiolib-cdev.c | 28 +++++++++++++++++-----------
4 files changed, 26 insertions(+), 11 deletions(-)