Thread (6 messages) 6 messages, 4 authors, 2020-07-05

Re: [PATCH v2] pinctrl-single: fix pcs_parse_pinconf() return value

From: Tony Lindgren <tony@atomide.com>
Date: 2020-06-09 18:06:48
Also in: linux-gpio, linux-omap, lkml

* Drew Fustini [off-list ref] [200608 12:52]:
This patch causes pcs_parse_pinconf() to return -ENOTSUPP when no
pinctrl_map is added.  The current behavior is to return 0 when
!PCS_HAS_PINCONF or !nconfs.  Thus pcs_parse_one_pinctrl_entry()
incorrectly assumes that a map was added and sets num_maps = 2.
...
Fixes: 9dddb4df90d1 ("pinctrl: single: support generic pinconf")
It would be good to get an ack/tested-by from Haojian for this.

The patch looks right to me:

Acked-by: Tony Lindgren <tony@atomide.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help