Re: [PATCH] PCI: meson: Propagate devm_add_action_or_reset() failure

From: Manivannan Sadhasivam

Date: Tue Jun 09 2026 - 12:56:26 EST



On Mon, 18 May 2026 13:49:40 +0545, Shuvam Pandey wrote:
> meson_pcie_probe_clock() enables a clock and then registers a devres
> action to disable it during teardown. If devm_add_action_or_reset()
> fails, it runs the action immediately, disabling the clock.
>
> The return value is currently ignored, so on that failure path
> meson_pcie_probe_clock() returns the disabled clock and probe continues.
> Return the error so the existing probe error path unwinds normally.
>
> [...]

Applied, thanks!

[1/1] PCI: meson: Propagate devm_add_action_or_reset() failure
commit: b12341b98d5ac52f48ca1390e1e371aed81346c8

Best regards,
--
Manivannan Sadhasivam <mani@xxxxxxxxxx>