mbox series

[RESEND,0/2] pinctrl: core: fix untreated named gpio ranges in pinctrl_pins_show()

Message ID cover.1714049455.git.lduboin@freebox.fr
Headers show
Series pinctrl: core: fix untreated named gpio ranges in pinctrl_pins_show() | expand

Message

Léo DUBOIN May 10, 2024, 4:25 p.m. UTC
This series covers errors I encountered with the pinctrl_pins_show()
function when dealing with named gpio ranges generated through the
device tree using 'gpio-ranges-group-names'.

These errors were introduced with the original implementation in 
f1b206cf7c57561ea156798f323b0541a783bd2f.

Léo DUBOIN (2):
  pinctrl: core: take into account the pins array in pinctrl_pins_show()
  pinctrl: core: reset gpio_device in loop in pinctrl_pins_show()

 drivers/pinctrl/core.c | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

Comments

Linus Walleij May 27, 2024, 1:43 p.m. UTC | #1
On Fri, May 10, 2024 at 6:26 PM Léo DUBOIN <lduboin@freebox.fr> wrote:

> This series covers errors I encountered with the pinctrl_pins_show()
> function when dealing with named gpio ranges generated through the
> device tree using 'gpio-ranges-group-names'.
>
> These errors were introduced with the original implementation in
> f1b206cf7c57561ea156798f323b0541a783bd2f.
>
> Léo DUBOIN (2):
>   pinctrl: core: take into account the pins array in pinctrl_pins_show()
>   pinctrl: core: reset gpio_device in loop in pinctrl_pins_show()

Patches applied for kernel v6.11.

It's debugfs so per definition no regression, people get to test it
in linux-next.

Thanks for looking into this!

Yours,
Linus Walleij