OpenCloudOS-Kernel/arch/arm/mach-ep93xx
Nikita Shubin 97ba7c1f9c 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:35:01 +01:00
..
Kconfig ARM: ep93xx: remove old board files 2023-01-10 23:10:27 +01:00
Makefile ARM: ep93xx: remove old board files 2023-01-10 23:10:27 +01:00
clock.c ep93xx: clock: Do not return the address of the freed memory 2022-05-27 15:55:44 +02:00
core.c ARM: ep93xx: Add terminator to gpiod_lookup_table 2024-03-01 13:35:01 +01:00
dma.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
edb93xx.c ARM: ep93xx: enable SPARSE_IRQ 2022-04-04 10:22:37 +02:00
ep93xx-regs.h ARM: ep93xx: make mach/ep93xx-regs.h local 2022-04-04 10:22:37 +02:00
gpio-ep93xx.h ARM: ep93xx: make mach/ep93xx-regs.h local 2022-04-04 10:22:37 +02:00
hardware.h ARM: ep93xx: move private headers out of mach/* 2019-04-28 23:08:44 -07:00
irqs.h ARM: ep93xx: enable SPARSE_IRQ 2022-04-04 10:22:37 +02:00
platform.h ARM: ep93xx: remove MaverickCrunch support 2021-08-04 13:30:04 +02:00
soc.h ARM: ep93xx: make mach/ep93xx-regs.h local 2022-04-04 10:22:37 +02:00
timer-ep93xx.c ARM: ep93xx: fix missing-prototype warnings 2023-05-26 13:31:37 +02:00
ts72xx.c ARM: ep93xx: Make ts72xx_register_flash() static 2022-05-27 16:00:58 +02:00
ts72xx.h ARM: ep93xx: ts72xx: Add support for BK3 board - ts72xx derivative 2017-12-13 22:26:10 +01:00
vision_ep9307.c ARM: ep93xx: enable SPARSE_IRQ 2022-04-04 10:22:37 +02:00