summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorShengzhuo Wei <me@cherr.cc>2026-08-27 23:43:01 +0800
committerAndi Shyti <andi.shyti@kernel.org>2026-09-20 09:40:28 +0200
commitf7eeb1af8537b05953fb1c88ab8b59d94059a381 (patch)
treec755bc605433ce0223e599073573693e6352aed3 /tools/perf/scripts/python/export-to-postgresql.py
parentad34235808b63a70ca4989b7a2852923193d06ef (diff)
downloadlinux-next-f7eeb1af8537b05953fb1c88ab8b59d94059a381.tar.gz
linux-next-f7eeb1af8537b05953fb1c88ab8b59d94059a381.zip
i2c: at91: release DMA channels on remove and probe error
at91_twi_configure_dma() requests exclusive tx/rx DMA channels, but nothing ever releases them on driver detach, and the probe error path after the channels are acquired (i2c_add_numbered_adapter() failure) returns without releasing them either, because the remove callback is not invoked after a failed probe. Move the release into a helper, call it from the existing configure-failure path, the adapter-registration failure path, and at91_twi_remove(). Fixes: 60937b2cdbf9 ("i2c: at91: add dma support") Assisted-by: GLM:5.3 Signed-off-by: Shengzhuo Wei <me@cherr.cc> Cc: <stable@vger.kernel.org> # v3.8+ Acked-by: Mukesh Kumar Savaliya <mukesh.savaliya@oss.qualcomm.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://patch.msgid.link/20260827-i2c-dma-channel-leak-v1-1-271d4adc03a0@cherr.cc
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions