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

From: Tony Lindgren
Date: Mon Jun 01 2020 - 12:18:56 EST


* Drew Fustini <drew@xxxxxxxxxxxxxxx> [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