soc/tegra: Stub out PCIe IRQ workaround on 64-bit ARM
authorThierry Reding <treding@nvidia.com>
Wed, 29 Jun 2016 14:11:32 +0000 (16:11 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 30 Jun 2016 11:54:17 +0000 (13:54 +0200)
The PCIe host controller found on Tegra20 has a hardware bug that causes
PCIe interrupts to get lost when LP2 is enabled. Stub out the workaround
on 64-bit ARM because none of the more recent Tegra SoC generations seem
to have this bug anymore.

Signed-off-by: Thierry Reding <treding@nvidia.com>
include/soc/tegra/cpuidle.h

index ea04f42..1fae9c7 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef __SOC_TEGRA_CPUIDLE_H__
 #define __SOC_TEGRA_CPUIDLE_H__
 
-#ifdef CONFIG_CPU_IDLE
+#if defined(CONFIG_ARM) && defined(CONFIG_CPU_IDLE)
 void tegra_cpuidle_pcie_irqs_in_use(void);
 #else
 static inline void tegra_cpuidle_pcie_irqs_in_use(void)