Commits

Peng Fan committed e2ca0979892
MLK-14012 pinctrl: imx: fix imx_pinctrl_parse_pin list is a local variable, each time imx_pinctrl_parse_pin is invoked, list points to the first pin. Directly use list_p in imx_pinctrl_parse_pin to fix it. When splitting pinctrl-imx.c, two pieces code is correctly moved. - In imx_pmx_set_one_pin, when mux_reg is -1, need to return 0 to let the caller continue the loop. - In imx_pinctrl_parse_pin, need to use (mux_reg != -1) when calculating the pin_id. Signed-off-by: Peng Fan <peng.fan@nxp.com>