aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorHao Yao <[email protected]>2023-05-24 11:51:33 +0800
committerHans de Goede <[email protected]>2023-05-30 12:10:22 +0200
commitfb109fba728407fa4a84d659b5cb87cd8399d7b3 (patch)
tree87ef8dfe3cc38e74cc7652fd31c42be6d8297e7e /tools/perf/scripts/python/powerpc-hcalls.py
parent061c228967f0e3f7aecdd32ee370ee745d96168d (diff)
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 <[email protected]> Signed-off-by: Bingbu Cao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions