aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorFrank Li <[email protected]>2024-07-29 20:18:13 +0000
committerKrzysztof Wilczyński <[email protected]>2024-09-09 14:08:22 +0000
commit5223084d1383a9b5a72989e173fb8b566766f49f (patch)
tree4f05eb46a8386ba761bf1050f9a272fb1e87a6a7 /drivers/pci/controller/pci-host-common.c
parentPCI: imx6: Introduce SoC specific callbacks for controlling REFCLK (diff)
downloadkernel-5223084d1383a9b5a72989e173fb8b566766f49f.tar.gz
kernel-5223084d1383a9b5a72989e173fb8b566766f49f.zip
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/[email protected] Signed-off-by: Frank Li <[email protected]> [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions