acrn-kernel/drivers/platform
Hao Yao fb109fba72 platform/x86: int3472: Avoid crash in unregistering regulator gpio
When int3472 is loaded before GPIO driver, acpi_get_and_request_gpiod()
failed but the returned gpio descriptor is not NULL, it will cause panic
in later gpiod_put(), so set the gpio_desc to NULL in register error
handling to avoid such crash.

Signed-off-by: Hao Yao <hao.yao@intel.com>
Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Link: https://lore.kernel.org/r/20230524035135.90315-1-bingbu.cao@intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2023-05-30 12:10:22 +02:00
..
chrome Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
goldfish
loongarch
mellanox platform/mellanox: mlxbf-pmc: fix sscanf() error checking 2023-05-15 14:56:22 +02:00
mips
olpc
surface platform/surface: aggregator_tabletsw: Add support for book mode in POS subsystem 2023-05-30 11:20:30 +02:00
x86 platform/x86: int3472: Avoid crash in unregistering regulator gpio 2023-05-30 12:10:22 +02:00
Kconfig
Makefile