[GIT PULL] late GPIO fixes for v5.9
From: Linus Walleij
Date: Fri Oct 02 2020 - 05:32:12 EST
Hi Linus,
here is a batch of GPIO fixes for the v5.9 series.
I'm not entirely happy with myself over this, it is too much
and too late. New bugs kept popping up, in hindsight I
should have sent smaller installments, earlier of course.
I blame stuff like stress and weltschmertz and trying to
grok KASan and a few more things on my plate.
Please pull it in.
Yours,
Linus Walleij
The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd:
Linux 5.9-rc2 (2020-08-23 14:08:43 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git
tags/gpio-v5.9-2
for you to fetch changes up to 8c1f1c34777bddb633d4a068a9c812d29974c6bd:
gpio: pca953x: Correctly initialize registers 6 and 7 for PCA957x
(2020-10-01 10:00:18 +0200)
----------------------------------------------------------------
Some late GPIO fixes for the v5.9 series:
- Fix compiler warnings on the OMAP when PM is disabled
- Clear the interrupt when setting edge sensitivity on the
Spreadtrum driver.
- Fix up spurious interrupts on the TC35894.
- Support threaded interrupts on the Siox controller.
- Fix resource leaks on the mockup driver.
- Fix line event handling in syscall compatible mode
for the character device.
- Fix an unitialized variable in the PCA953A driver.
- Fix access to all GPIO IRQs on the Aspeed AST2600.
- Fix line direction on the AMD FCH driver.
- Use the bitmap API instead of compiler intrinsics for
bit manipulation in the PCA953x driver.
----------------------------------------------------------------
Ahmad Fatoum (1):
gpio: siox: explicitly support only threaded irqs
Andy Shevchenko (3):
gpiolib: Fix line event handling in syscall compatible mode
gpio: pca953x: Use bitmap API over implicit GCC extension
gpio: pca953x: Correctly initialize registers 6 and 7 for PCA957x
Bartosz Golaszewski (1):
gpio: mockup: fix resource leak in error path
Ed Wildgoose (1):
gpio: amd-fch: correct logic of GPIO_LINE_DIRECTION
Jeremy Kerr (2):
gpio/aspeed-sgpio: enable access to all 80 input & output sgpios
gpio/aspeed-sgpio: don't enable all interrupts by default
Linus Walleij (4):
Merge tag 'gpio-fixes-for-v5.9-rc4' of
git://git.kernel.org/.../brgl/linux into fixes
Merge tag 'gpio-fixes-for-v5.9-rc6' of
git://git.kernel.org/.../brgl/linux into fixes
Merge tag 'gpio-fixes-for-v5.9-rc7' of
git://git.kernel.org/.../brgl/linux into fixes
Merge tag 'gpio-fixes-for-v5.9' of
git://git.kernel.org/.../brgl/linux into fixes
Taiping Lai (1):
gpio: sprd: Clear interrupt when setting the type as edge
Tao Ren (1):
gpio: aspeed: fix ast2600 bank properties
Tony Lindgren (1):
gpio: omap: Fix warnings if PM is disabled
Ye Li (1):
gpio: pca953x: Fix uninitialized pending variable
dillon min (1):
gpio: tc35894: fix up tc35894 interrupt configuration
.../devicetree/bindings/gpio/sgpio-aspeed.txt | 5 +-
drivers/gpio/gpio-amd-fch.c | 2 +-
drivers/gpio/gpio-aspeed-sgpio.c | 134 +++++++++++++--------
drivers/gpio/gpio-aspeed.c | 4 +-
drivers/gpio/gpio-mockup.c | 2 +
drivers/gpio/gpio-omap.c | 4 +-
drivers/gpio/gpio-pca953x.c | 7 +-
drivers/gpio/gpio-siox.c | 1 +
drivers/gpio/gpio-sprd.c | 3 +
drivers/gpio/gpio-tc3589x.c | 2 +-
drivers/gpio/gpiolib-cdev.c | 34 +++++-
11 files changed, 138 insertions(+), 60 deletions(-)