android_kernel_sony_sdm845/drivers/pinctrl
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dan Carpenter 298766ae9c pinctrl: ns2: Fix off by one bugs in ns2_pinmux_enable()
[ Upstream commit 39b65fbb813089e366b376bd8acc300b6fd646dc ]

The pinctrl->functions[] array has pinctrl->num_functions elements and
the pinctrl->groups[] array is the same way.  These are set in
ns2_pinmux_probe().  So the > comparisons should be >= so that we don't
read one element beyond the end of the array.

Fixes: b5aa1006e4 ("pinctrl: ns2: add pinmux driver support for Broadcom NS2 SoC")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20190926081426.GB2332@mwanda
Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-10 11:23:12 +01:00
..
aspeed
bcm pinctrl: ns2: Fix off by one bugs in ns2_pinmux_enable() 2019-11-10 11:23:12 +01:00
berlin
freescale pinctrl: freescale: off by one in imx1_pinconf_group_dbg_show() 2018-09-05 09:20:09 +02:00
intel pinctrl: intel: Read back TX buffer state 2018-08-06 16:23:02 +02:00
mediatek
meson pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins 2019-03-23 13:19:43 +01:00
mvebu
nomadik
pxa
qcom pinctrl: msm: fix gpio-hog related boot issues 2019-02-20 10:18:34 +01:00
samsung
sh-pfc pinctrl: sh-pfc: r8a7796: Fix MOD_SEL register pin assignment for SSI pins group 2018-05-30 07:50:50 +02:00
sirf
spear
stm32
sunxi pinctrl: sunxi: a83t: Fix IRQ offset typo for PH11 2018-12-21 14:11:30 +01:00
tegra pinctrl: tegra: Fix write barrier placement in pmx_writel 2019-10-07 18:53:12 +02:00
uniphier
vt8500
core.c pinctrl: Really force states during suspend/resume 2018-03-24 11:00:25 +01:00
core.h
devicetree.c
devicetree.h
Kconfig
Makefile
pinconf-generic.c
pinconf.c
pinconf.h
pinctrl-adi2-bf54x.c
pinctrl-adi2-bf60x.c
pinctrl-adi2.c
pinctrl-adi2.h
pinctrl-amd.c
pinctrl-amd.h
pinctrl-as3722.c
pinctrl-at91-pio4.c pinctrl: at91-pio4: add missing of_node_put 2018-08-03 07:55:19 +02:00
pinctrl-at91.c
pinctrl-at91.h
pinctrl-coh901.c
pinctrl-coh901.h
pinctrl-digicolor.c
pinctrl-falcon.c
pinctrl-lantiq.c
pinctrl-lantiq.h
pinctrl-lpc18xx.c
pinctrl-max77620.c pinctrl: max77620: Use define directive for max77620_pinconf_param values 2019-02-27 10:07:03 +01:00
pinctrl-oxnas.c
pinctrl-palmas.c
pinctrl-pic32.c
pinctrl-pic32.h
pinctrl-pistachio.c pinctrl: pistachio: fix leaked of_node references 2019-05-31 06:48:18 -07:00
pinctrl-rockchip.c pinctrl: rockchip: fix leaked of_node references 2019-08-04 09:33:36 +02:00
pinctrl-single.c
pinctrl-st.c
pinctrl-tb10x.c
pinctrl-tz1090-pdc.c
pinctrl-tz1090.c
pinctrl-u300.c
pinctrl-utils.c
pinctrl-utils.h
pinctrl-xway.c
pinctrl-zynq.c
pinmux.c
pinmux.h