diff options
| author | Frank Li <[email protected]> | 2024-07-29 20:18:12 +0000 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2024-09-09 14:08:22 +0000 |
| commit | 256867b74625a56ce1ff4bd89440c3fbbb357d18 (patch) | |
| tree | bb48e61ecd0384bdc6d5b937d5c16fae1b44a277 /drivers/pci/controller/pci-host-common.c | |
| parent | PCI: imx6: Rename imx6_* with imx_* (diff) | |
| download | kernel-256867b74625a56ce1ff4bd89440c3fbbb357d18.tar.gz kernel-256867b74625a56ce1ff4bd89440c3fbbb357d18.zip | |
PCI: imx6: Introduce SoC specific callbacks for controlling REFCLK
Instead of using the switch case statement to enable/disable the
reference clock handled by this driver itself, let's introduce a new
callback enable_ref_clk() 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
