pci-tegra.c (669cbc708122fc7a02282058a09f096200cee090) pci-tegra.c (b64aa11eb2ddb0600361178286d7b7ed5a069fd8)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * PCIe host controller driver for Tegra SoCs
4 *
5 * Copyright (c) 2010, CompuLab, Ltd.
6 * Author: Mike Rapoport <mike@compulab.co.il>
7 *
8 * Based on NVIDIA PCIe driver

--- 2693 unchanged lines hidden (view full) ---

2702 err = pm_runtime_get_sync(pcie->dev);
2703 if (err < 0) {
2704 dev_err(dev, "fail to enable pcie controller: %d\n", err);
2705 goto pm_runtime_put;
2706 }
2707
2708 host->ops = &tegra_pcie_ops;
2709 host->map_irq = tegra_pcie_map_irq;
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * PCIe host controller driver for Tegra SoCs
4 *
5 * Copyright (c) 2010, CompuLab, Ltd.
6 * Author: Mike Rapoport <mike@compulab.co.il>
7 *
8 * Based on NVIDIA PCIe driver

--- 2693 unchanged lines hidden (view full) ---

2702 err = pm_runtime_get_sync(pcie->dev);
2703 if (err < 0) {
2704 dev_err(dev, "fail to enable pcie controller: %d\n", err);
2705 goto pm_runtime_put;
2706 }
2707
2708 host->ops = &tegra_pcie_ops;
2709 host->map_irq = tegra_pcie_map_irq;
2710 host->swizzle_irq = pci_common_swizzle;
2711
2712 err = pci_host_probe(host);
2713 if (err < 0) {
2714 dev_err(dev, "failed to register host: %d\n", err);
2715 goto pm_runtime_put;
2716 }
2717
2718 if (IS_ENABLED(CONFIG_DEBUG_FS)) {

--- 149 unchanged lines hidden ---
2710
2711 err = pci_host_probe(host);
2712 if (err < 0) {
2713 dev_err(dev, "failed to register host: %d\n", err);
2714 goto pm_runtime_put;
2715 }
2716
2717 if (IS_ENABLED(CONFIG_DEBUG_FS)) {

--- 149 unchanged lines hidden ---