summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-06-07 17:15:18 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-06-07 17:15:18 +0200
commitb0c147b970d4ff7bcf4c63ec40cffd1783d6af66 (patch)
treef7032c1d9298a0ea5ead50e6899746b72570aadd
parentbb291d1fd5d89e4f621613a086e19f32d23ed73f (diff)
tegra: pcie: fix AXI response decoding errors
Avoid AXI response decoding errors of the following form by properly setting the root bus number: [ 3.377991] PCIE: AXI response decoding error, signature: ff01003d [ 3.384174] PCIE: AXI response decoding error, signature: ff01003c
-rw-r--r--arch/arm/mach-tegra/pcie.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pcie.c b/arch/arm/mach-tegra/pcie.c
index 04d3a5db3f7e..6233e50709f2 100644
--- a/arch/arm/mach-tegra/pcie.c
+++ b/arch/arm/mach-tegra/pcie.c
@@ -1262,6 +1262,7 @@ static void tegra_pcie_add_port(int index, u32 offset, u32 reset_reg)
tegra_pcie.num_ports++;
pp->index = index;
+ pp->root_bus_nr = -1;
memset(pp->res, 0, sizeof(pp->res));
}