summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-08-22 23:07:47 +0800
committerBjorn Helgaas <bhelgaas@google.com>2026-09-17 17:43:42 -0500
commit768e5d0936d00d663ce2b8c192cc6ab0b61ad461 (patch)
tree2f63aa64c7b52521efeccce630ac4c5be88d3ddf /tools/perf/scripts/python
parent52cd9bb3772e82d792cb0def3c2a5a9b6bd24ffb (diff)
PCI: dra7xx: Fix clock enable leak on probe failure
dra7xx_pcie_probe() enables the optional clock but never disables it when probing fails afterwards. Switch to devm_clk_get_optional_enabled(), which disables the clock automatically on failure. Fixes: 5af9405397bf ("PCI: dra7xx: Get an optional clock") Signed-off-by: Felix Gu <ustc.gu@gmail.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://patch.msgid.link/20260822-dra7xx-v1-1-23e204d5548b@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions