pinctrl: nxp: scu: Check the pad partition before set pinmux
authorYe Li <ye.li@nxp.com>
Sun, 3 May 2020 13:01:27 +0000 (21:01 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 10 May 2020 11:24:23 +0000 (13:24 +0200)
commita6979f78bcba76611e5e3fd6226b5b79c8021c2e
treebc00737bd08e19dcfd3744bdd853267cf345e494
parentd19c1cb525eddfbdf719356b750189a77cefc020
pinctrl: nxp: scu: Check the pad partition before set pinmux

If a pad is not owned by current partition we should not set its
pinmux.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/pinctrl/nxp/pinctrl-scu.c