File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2499,7 +2499,6 @@ static const struct tegra_pcie_soc tegra20_pcie = {
2499
2499
.num_ports = 2 ,
2500
2500
.ports = tegra20_pcie_ports ,
2501
2501
.msi_base_shift = 0 ,
2502
- .afi_pex2_ctrl = 0x128 ,
2503
2502
.pads_pll_ctl = PADS_PLL_CTL_TEGRA20 ,
2504
2503
.tx_ref_sel = PADS_PLL_CTL_TXCLKREF_DIV10 ,
2505
2504
.pads_refclk_cfg0 = 0xfa5cfa5c ,
@@ -2528,6 +2527,7 @@ static const struct tegra_pcie_soc tegra30_pcie = {
2528
2527
.num_ports = 3 ,
2529
2528
.ports = tegra30_pcie_ports ,
2530
2529
.msi_base_shift = 8 ,
2530
+ .afi_pex2_ctrl = 0x128 ,
2531
2531
.pads_pll_ctl = PADS_PLL_CTL_TEGRA30 ,
2532
2532
.tx_ref_sel = PADS_PLL_CTL_TXCLKREF_BUF_EN ,
2533
2533
.pads_refclk_cfg0 = 0xfa5cfa5c ,
@@ -2798,7 +2798,7 @@ static int tegra_pcie_probe(struct platform_device *pdev)
2798
2798
2799
2799
pm_runtime_enable (pcie -> dev );
2800
2800
err = pm_runtime_get_sync (pcie -> dev );
2801
- if (err ) {
2801
+ if (err < 0 ) {
2802
2802
dev_err (dev , "fail to enable pcie controller: %d\n" , err );
2803
2803
goto teardown_msi ;
2804
2804
}
You can’t perform that action at this time.
0 commit comments