u-boot/drivers/pinctrl/nxp
Ye Li 11a1c27eb4 pinctrl: imx: Fix select input issue
The pinctrl supports to set any bit in input register on iMX6 if
the MSB of input value is 0xff. But the driver uses signed int for
input value, so when executing the codes below, it won't meet.
Because this is arithmetic right shift.

    if (input_val >> 24 == 0xff)

Fix the issue by changing the input_val, config_val and mux_mode to u32.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2019-01-28 20:35:47 +01:00
..
Kconfig ARM: vybrid: Provide pinctrl driver for Vybrid (vf610) 2019-01-01 14:12:18 +01:00
Makefile ARM: vybrid: Provide pinctrl driver for Vybrid (vf610) 2019-01-01 14:12:18 +01:00
pinctrl-imx.c pinctrl: imx: Fix select input issue 2019-01-28 20:35:47 +01:00
pinctrl-imx.h pinctrl: Add pinctrl driver for i.MX8 2018-10-22 12:59:01 +02:00
pinctrl-imx5.c pinctrl: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
pinctrl-imx6.c pinctrl: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
pinctrl-imx7.c pinctrl: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
pinctrl-imx7ulp.c pinctrl: Remove DM_FLAG_PRE_RELOC flag in various drivers 2018-11-14 09:16:28 -08:00
pinctrl-imx8.c pinctrl: Add pinctrl driver for i.MX8 2018-10-22 12:59:01 +02:00
pinctrl-scu.c pinctrl: Add pinctrl driver for i.MX8 2018-10-22 12:59:01 +02:00
pinctrl-vf610.c ARM: vybrid: Provide pinctrl driver for Vybrid (vf610) 2019-01-01 14:12:18 +01:00