diff options
| author | Sherry Sun <sherry.sun@nxp.com> | 2026-07-13 10:34:32 +0800 |
|---|---|---|
| committer | Manivannan Sadhasivam <mani@kernel.org> | 2026-07-13 07:02:19 +0200 |
| commit | 2c5768344f88b86188c5915327bb00e6aad24990 (patch) | |
| tree | 6c32ec8ec9c434251ab963dccd0cfe8f9c29b7e5 /scripts/Makefile.thinlto | |
| parent | 7f4d9901eb1fdd3d2e56b514dcc325b33185b8e1 (diff) | |
| download | linux-stable-2c5768344f88b86188c5915327bb00e6aad24990.tar.gz linux-stable-2c5768344f88b86188c5915327bb00e6aad24990.zip | |
PCI: imx6: Move pci_pwrctrl_create_devices() to imx_pcie_probe()
Previously, pci_pwrctrl_create_devices() was placed in
imx_pcie_host_init(), which is the .init callback of dw_pcie_host_ops.
This callback is invoked not only during probe, but also during resume.
This caused pci_pwrctrl_create_devices() to be called multiple
times across suspend/resume cycles, which is unnecessary since the
pwrctrl devices only need to be created once.
Move pci_pwrctrl_create_devices() to imx_pcie_probe() so that it is only
called once during probe, similar to other regulator_get calls.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260713023435.235765-2-sherry.sun@oss.nxp.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
