Thread (4 messages) 4 messages, 3 authors, 2020-06-01

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

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

* Drew Fustini [off-list ref] [200531 20:42]:
This patch causes pcs_parse_pinconf() to return an error 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.
Looks OK to me, would be good to wait for Haojian to test this one.

Regards,

Tony

_______________________________________________
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