Commit 3852adbb0111 for kernel

commit 3852adbb01116275eadf41c67af5ef68abe9755a
Merge: 822ba3a89c78 d8e27d042747
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Nov 27 10:47:47 2026 -0800

    Merge tag 'gpio-fixes-for-v7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux

    Pull gpio fixes from Bartosz Golaszewski:
     "GPIO core fixes:
       - fix several logic & locking issues and resource leaks in GPIO
         character device code
       - fix GPIO hogging for controllers using the three-cell binding
       - fix inverted trace values in gpiod_get_array_value()
       - remove shared GPIO proxies before freeing interrupts that are still
         requested by the parent controller and fix a race in remove path
       - fix UAF bugs around the GPIO label cleanup

      GPIO driver fixes:
       - fix a use-after-free bug in gpio-davinci
       - fix an issue in gpio-davinci where the driver could setup an IRQ
         for a wrong controller
       - validate the number of GPIOs in gpio-mvebu
       - use correct registers in suspend/resume in gpio-mvebu
       - fix non-kerneldoc comment in nsc-gpio header
       - fix memory leak in gpio-aspeed
       - do not unprepare the debounce clock twice in probe error path in
         gpio-omap
       - fix resume in gpio-pca953x: restore output registers before
         direction to fix potential spurious output-high pin

      GPIO tools fixes:
       - fix command-line arguments parsing in gpio-hammer
       - preserve the device listing error in lsgpio instead of dropping it
         unconditionally
       - return 0 from gpio-event-mon on success: we currently return the
         number of read events from main() which is interpreted as an error
         in shell"

    * tag 'gpio-fixes-for-v7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: (21 commits)
      gpio: mvebu: fix Armada XP per-CPU mask register save/restore
      gpio: mvebu: validate ngpios before use
      gpiolib: use the of_xlate() result when hogging lines
      gpio: aspeed: Fix potential coprocessor bank map leak
      gpio: davinci: allocate bank IRQ data before installing handlers
      gpio: davinci: use controller-specific MMIO for BINTEN
      gpiolib: fix inverted trace values in gpiod_get_array_value()
      gpiolib: remove the shared GPIO proxies before freeing the remaining IRQs
      gpiolib: let the character device free its IRQs first on chip removal
      gpiolib: cdev: don't report a failed line read as an edge
      gpiolib: cdev: don't leak the IRQ name when the chip is removed
      gpiolib: cdev: don't sleep in the SRCU read section in read()
      gpiolib: cdev: do not free line IRQs again after the chip is removed
      gpiolib: free the label of lines released after their chip was removed
      gpiolib: wait for pending label frees before cleaning up desc_srcu
      gpio: omap: do not unprepare the debounce clock twice on probe failure
      chardev: GPIO common access methods: repair non-kernel-doc comment
      tools: gpio: Return success after monitoring requested events
      tools: gpio: Preserve device listing errors in lsgpio
      tools: gpio-hammer: Accept the maximum number of line offsets
      ...