WSL2-Linux-Kernel/arch/arm/mach-ep93xx
Nikita Shubin eec6cbbfa1 ARM: ep93xx: Add terminator to gpiod_lookup_table
commit fdf87a0dc26d0550c60edc911cda42f9afec3557 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:21:48 +01:00
..
include/mach
Kconfig ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00
Makefile ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00
Makefile.boot
adssphere.c ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00
clock.c
core.c ARM: ep93xx: Add terminator to gpiod_lookup_table 2024-03-01 13:21:48 +01:00
dma.c
edb93xx.c ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00
gesbc9312.c ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00
gpio-ep93xx.h
hardware.h
micro9.c ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00
platform.h ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00
simone.c ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00
snappercl15.c ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00
soc.h
timer-ep93xx.c ARM: ep93xx: fix missing-prototype warnings 2023-07-23 13:47:03 +02:00
ts72xx.c ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00
ts72xx.h
vision_ep9307.c ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00