diff options
author | Frank Li <Frank.Li@nxp.com> | 2024-07-29 16:18:13 -0400 |
---|---|---|
committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2024-09-09 14:08:22 +0000 |
commit | 5223084d1383a9b5a72989e173fb8b566766f49f (patch) | |
tree | 4f05eb46a8386ba761bf1050f9a272fb1e87a6a7 /drivers/pci/controller/dwc/pci-keystone.c | |
parent | 256867b74625a56ce1ff4bd89440c3fbbb357d18 (diff) |
PCI: imx6: Simplify switch-case logic by involve core_reset callback
Instead of using the switch case statement to assert/dassert the core
reset handled by this driver itself, let's introduce a new callback
core_reset() and define it for platforms that require it.
This simplifies the code.
Link: https://lore.kernel.org/linux-pci/20240729-pci2_upstream-v8-5-b68ee5ef2b4d@nxp.com
Signed-off-by: Frank Li <Frank.Li@nxp.com>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions