summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-09-16 09:47:01 +0000
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-09-17 11:51:32 +0200
commite9d810279f84b30738f7790c0ed15f8dd5b9024a (patch)
treeb1f12e6aca738fb03151ca01c520077be88dcb2d /tools/perf/scripts/python/stackcollapse.py
parent50fd0ada8d37587223001600933270b59cb30e19 (diff)
downloadlinux-next-e9d810279f84b30738f7790c0ed15f8dd5b9024a.tar.gz
linux-next-e9d810279f84b30738f7790c0ed15f8dd5b9024a.zip
gpio: arizona: Fix runtime PM leak in arizona_gpio_direction_out()
Switching a persistent GPIO line from input to output acquires a runtime PM reference on the parent device, but if the subsequent regmap_update_bits() fails the reference is never dropped and no later direction_in() can balance it since the direction was never changed. Drop the reference on the update failure path. Fixes: 27a49ed17e22 ("gpio: arizona: Add support for GPIOs that need to be maintained") Cc: stable@vger.kernel.org Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20260916094701.2007509-1-vulab@iscas.ac.cn Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions