linux-stable/arch/arm/mach-ep93xx
Nikita Shubin 9e200a06ae ARM: ep93xx: Add terminator to gpiod_lookup_table
commit fdf87a0dc2 upstream.

Without the terminator, if a con_id is passed to gpio_find() that
does not exist in the lookup table the function will not stop looping
correctly, and eventually cause an oops.

Cc: stable@vger.kernel.org
Fixes: b2e6355559 ("i2c: gpio: Convert to use descriptors")
Reported-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Link: https://lore.kernel.org/r/20240205102337.439002-1-alexander.sverdlin@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-03-01 13:06:10 +01:00
..
include/mach Merge branch 'i2c/for-4.15' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2017-11-14 17:52:21 -08:00
Kconfig ARM: ep93xx: ts72xx: Add support for BK3 board - ts72xx derivative 2017-12-13 22:26:10 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile.boot ARM: ep93xx: remove memory configuration options 2015-07-17 11:49:54 +02:00
adssphere.c
clock.c ARM: ep93xx: Add ADC clock 2017-07-28 01:36:30 +02:00
core.c ARM: ep93xx: Add terminator to gpiod_lookup_table 2024-03-01 13:06:10 +01:00
crunch-bits.S ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+ 2014-07-18 12:29:04 +01:00
crunch.c
dma.c arm: ep93xx: add dma_masks for the M2P and M2M DMA controllers 2014-11-28 12:34:08 +01:00
edb93xx.c i2c: gpio: Convert to use descriptors 2017-10-30 08:42:21 +01:00
gesbc9312.c
micro9.c
simone.c ARM: SoC platform updates for 4.15 2017-11-16 14:05:12 -08:00
snappercl15.c i2c: gpio: Convert to use descriptors 2017-10-30 08:42:21 +01:00
soc.h ARM: ep93xx: Add ADC platform device support to core 2017-07-28 01:36:31 +02:00
timer-ep93xx.c Revert "ARM: ep93xx: fix missing-prototype warnings" 2023-09-02 09:20:23 +02:00
ts72xx.c ARM: ep93xx: ts72xx: Add support for BK3 board - ts72xx derivative 2017-12-13 22:26:10 +01:00
ts72xx.h ARM: ep93xx: ts72xx: Add support for BK3 board - ts72xx derivative 2017-12-13 22:26:10 +01:00
vision_ep9307.c i2c: gpio: Convert to use descriptors 2017-10-30 08:42:21 +01:00