mbox series

[GIT,PULL] pin control late fixes

Message ID CACRpkdaEmKn_0QObo9kFrgm2TajepUFjcgK8CVn-u_zMmoEO8g@mail.gmail.com
State New
Headers show
Series [GIT,PULL] pin control late fixes | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git tags/pinctrl-v6.15-4

Message

Linus Walleij May 22, 2025, 8:39 a.m. UTC
Hi Linus,

these are two patches to the Qualcomm pin control driver that
fixes a late discovered problem.

I first tagged a version with an additional cleanup patch on top
but realized I can't send that this late so this is the diet version
of the fix.

Please pull them in!

Yours,
Linus Walleij

The following changes since commit 82f2b0b97b36ee3fcddf0f0780a9a0825d52fec3:

  Linux 6.15-rc6 (2025-05-11 14:54:11 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git
tags/pinctrl-v6.15-4

for you to fetch changes up to 41e452e6933d14146381ea25cff5e4d1ac2abea1:

  pinctrl: qcom: switch to devm_register_sys_off_handler() (2025-05-20
23:41:29 +0200)

----------------------------------------------------------------
This concerns a crash in the Qualcomm pin controller GPIO
portions when using hogs.

First patch hits into the gpiolib making gpiochip_line_is_valid()
NULL-tolerant.

Second patch fixes the actual problem.

----------------------------------------------------------------
Dmitry Baryshkov (2):
      gpiolib: don't crash on enabling GPIO HOG pins
      pinctrl: qcom: switch to devm_register_sys_off_handler()

 drivers/gpio/gpiolib.c             |  6 ++++++
 drivers/pinctrl/qcom/pinctrl-msm.c | 23 ++++++++++++-----------
 2 files changed, 18 insertions(+), 11 deletions(-)