diff options
| author | Shuvam Pandey <shuvampandey1@gmail.com> | 2026-05-18 22:44:18 +0545 |
|---|---|---|
| committer | Manivannan Sadhasivam <mani@kernel.org> | 2026-06-09 22:10:54 +0530 |
| commit | 4b0dc84b293984f75598881809fb2d3daf54a2a8 (patch) | |
| tree | b7294aec1d5fa317cb7bae6c299deb710e45d546 /include/linux/debugobjects.h | |
| parent | b12341b98d5ac52f48ca1390e1e371aed81346c8 (diff) | |
PCI: meson: Add missing remove callback
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.
Fixes: 9c0ef6d34fdb ("PCI: amlogic: Add the Amlogic Meson PCIe controller driver")
Signed-off-by: Shuvam Pandey <shuvampandey1@gmail.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/1a0c86ab264cdc1c79c917e984b90991af51d827.1779123847.git.shuvampandey1@gmail.com
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
