pinctrl: imx: Fix mask when SHARE_MUX_CONF_REG is set
authorPeng Fan <peng.fan@nxp.com>
Mon, 14 Aug 2017 10:09:16 +0000 (18:09 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 23 Aug 2017 08:47:00 +0000 (10:47 +0200)
commit63fbc59b4f14e6c19b203cca894226874fe68998
tree5c968f58f88dd35f96219b91fefebdc05c4b9ec9
parent7c09cbf68bd1881450dbac13f38486aab5640090
pinctrl: imx: Fix mask when SHARE_MUX_CONF_REG is set

when using SHARE_MUX_CONF_REG, wrong mask is used for
writing config value, which causes mux value is cleared.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefano Babic <sbabic@denx.de>
drivers/pinctrl/nxp/pinctrl-imx.c