summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLi Youhong <liyouhong@kylinos.cn>2026-09-04 09:49:58 +0800
committerLuca Ceresoli <luca.ceresoli@bootlin.com>2026-09-21 11:07:43 +0200
commitada667890773e033d2f40dc94176e3beb930b516 (patch)
treeeec036fe57f4d6486e96de77502375bfbd51ec07 /tools/perf/scripts/python/stackcollapse.py
parent598c1c3e895590f845e04455d5580ea28ffde666 (diff)
downloadlinux-next-ada667890773e033d2f40dc94176e3beb930b516.tar.gz
linux-next-ada667890773e033d2f40dc94176e3beb930b516.zip
drm/bridge: samsung-dsim: fix TE GPIO lifetime for host attach
When the Exynos DSI driver was generalized into samsung-dsim, the TE GPIO acquisition was switched from gpiod_get_optional() to devm_gpiod_get_optional() while keeping the matching gpiod_put() calls. That combination is wrong for a managed descriptor. However, dropping the puts and keeping the managed get is also wrong: samsung_dsim_register_te_irq() runs from the DSI host attach callback, and host detach/reattach can happen without destroying the device that owns the managed action. A second attach would then request the GPIO again without having released it. Switch back to a non-managed gpiod_get_optional() and keep the explicit gpiod_put() on the request_irq() error path and in samsung_dsim_unregister_te_irq(). Fixes: e7447128ca4a ("drm: bridge: Generalize Exynos-DSI driver into a Samsung DSIM bridge") Suggested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Li Youhong <liyouhong@kylinos.cn> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://patch.msgid.link/20260904014958.1572918-1-dayou5941@163.com [Luca: remove unnecessary comment] Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions