Re: (subset) [PATCH 2/2] PCI: meson: Add missing remove callback
From: Manivannan Sadhasivam
Date: Tue Jun 09 2026 - 13:13:59 EST
On Mon, 18 May 2026 22:44:18 +0545, Shuvam Pandey wrote:
> meson_pcie_probe() powers on the PHY and registers the DesignWare host
> bridge with dw_pcie_host_init(), but the driver has no remove callback.
> On driver unbind or module unload, the driver core therefore proceeds to
> devres cleanup without first unregistering the host bridge or powering off
> the PHY.
>
> Add a remove callback that deinitializes the DesignWare host bridge and
> powers off the PHY while device-managed resources are still valid.
>
> [...]
Applied, thanks!
[2/2] PCI: meson: Add missing remove callback
commit: 4b0dc84b293984f75598881809fb2d3daf54a2a8
Best regards,
--
Manivannan Sadhasivam <mani@xxxxxxxxxx>