1
0
Fork 0
remarkable-uboot/drivers/pinctrl/nxp
Ye Li 6069aa09d9 MLK-19133 pinctrl: Fix select input issue in pinctrl driver
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>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
(cherry picked from commit e464bbcd13d472ddf2df5b62b0002a127147e17b)
2018-08-13 00:51:40 -07:00
..
Kconfig MLK-16094-1 pinctrl: Add pinctrl driver for i.MX8 platform 2018-04-27 02:32:31 -07:00
Makefile MLK-16094-1 pinctrl: Add pinctrl driver for i.MX8 platform 2018-04-27 02:32:31 -07:00
pinctrl-imx.c MLK-19133 pinctrl: Fix select input issue in pinctrl driver 2018-08-13 00:51:40 -07:00
pinctrl-imx.h MLK-16094-1 pinctrl: Add pinctrl driver for i.MX8 platform 2018-04-27 02:32:31 -07:00
pinctrl-imx5.c dm: Fix up inclusion of common.h 2017-06-01 07:03:03 -06:00
pinctrl-imx6.c pinctrl: imx6ul: Fix pinctrl data overlapped with DT area 2017-11-27 10:36:40 +01:00
pinctrl-imx7.c dm: Fix up inclusion of common.h 2017-06-01 07:03:03 -06:00
pinctrl-imx7ulp.c pinctrl: imx7ulp: Add new info instance for iomuxc1 2017-08-23 10:48:15 +02:00
pinctrl-imx8.c MLK-16094-1 pinctrl: Add pinctrl driver for i.MX8 platform 2018-04-27 02:32:31 -07:00
pinctrl-imx8m.c MLK-18243-13 drivers: pinctrl: support i.MX8MM 2018-05-23 04:15:51 -07:00
pinctrl-scu.c MLK-16094-1 pinctrl: Add pinctrl driver for i.MX8 platform 2018-04-27 02:32:31 -07:00