1
0
Fork 0
remarkable-uboot/drivers/pinctrl
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
..
aspeed aspeed: AST2500 Pinctrl Driver 2017-05-08 11:57:33 -04:00
ath79 dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
broadcom bcm2835_pinctrl: Probe pre-reloc 2018-01-28 12:27:36 -05:00
exynos dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
meson pinctrl: meson: Add GXL Support 2017-11-17 07:43:32 -05:00
mvebu pinctrl: mvebu: Make drivers depend on the pinctrl framework 2018-01-09 16:41:00 +01:00
nxp MLK-19133 pinctrl: Fix select input issue in pinctrl driver 2018-08-13 00:51:40 -07:00
renesas pinctrl: rmobile: Add R8A77965 M3N entries 2018-03-05 10:59:38 +01:00
rockchip rockchip: pinctrl: Add rk322x gmac pinctrl support 2018-01-28 17:12:38 +01:00
uniphier pinctrl: uniphier: simplify input enable and delete pin arrays 2017-10-15 22:32:24 +09:00
Kconfig pinctrl: Kconfig: Fix typo 2018-03-05 10:06:05 -05:00
Makefile bcm283x: Add pinctrl driver 2018-01-28 12:27:32 -05:00
pinctrl-at91-pio4.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
pinctrl-at91.c ARM: at91: Remove hardware.h included in configs 2017-09-14 16:02:47 -04:00
pinctrl-generic.c dm: Use dm.h header when driver mode is used 2017-06-01 06:57:52 -06:00
pinctrl-sandbox.c dm: Use dm.h header when driver mode is used 2017-06-01 06:57:52 -06:00
pinctrl-single.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
pinctrl-sti.c sti: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
pinctrl-uclass.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
pinctrl_pic32.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
pinctrl_stm32.c pinctrl: stm32: add stm32f4 pinctrl compatible strings 2018-01-10 08:05:45 -05:00