OpenCloudOS-Kernel/drivers/platform/x86/intel/int3472
Daniel Scally 4b1be2fe63 platform/x86: int3472: Add terminator to gpiod_lookup_table
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.

Fixes: 19d8d6e36b ("platform/x86: int3472: Pass tps68470_regulator_platform_data to the tps68470-regulator MFD-cell")
Signed-off-by: Daniel Scally <djrscally@gmail.com>
Link: https://lore.kernel.org/r/20220216225304.53911-5-djrscally@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2022-02-21 14:43:47 +01:00
..
Kconfig
Makefile platform/x86: int3472: Pass tps68470_regulator_platform_data to the tps68470-regulator MFD-cell 2021-12-13 11:44:50 +01:00
clk_and_regulator.c platform/x86: int3472: Split into 2 drivers 2021-12-13 11:44:48 +01:00
common.c platform/x86: int3472: Add get_sensor_adev_and_name() helper 2021-12-13 11:44:48 +01:00
common.h platform/x86: int3472: Add get_sensor_adev_and_name() helper 2021-12-13 11:44:48 +01:00
discrete.c platform/x86: Replace acpi_bus_get_device() 2022-02-03 11:55:57 +01:00
tps68470.c platform/x86: int3472: Deal with probe ordering issues 2021-12-13 11:44:51 +01:00
tps68470.h platform/x86: int3472: Pass tps68470_regulator_platform_data to the tps68470-regulator MFD-cell 2021-12-13 11:44:50 +01:00
tps68470_board_data.c platform/x86: int3472: Add terminator to gpiod_lookup_table 2022-02-21 14:43:47 +01:00