aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-tegra/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/dma.c b/arch/arm/mach-tegra/dma.c
index c0cf967e47d3..98b33c89b2c5 100644
--- a/arch/arm/mach-tegra/dma.c
+++ b/arch/arm/mach-tegra/dma.c
@@ -357,7 +357,7 @@ struct tegra_dma_channel *tegra_dma_allocate_channel(int mode)
357 int channel; 357 int channel;
358 struct tegra_dma_channel *ch = NULL; 358 struct tegra_dma_channel *ch = NULL;
359 359
360 if (WARN_ON(!tegra_dma_initialized)) 360 if (!tegra_dma_initialized)
361 return NULL; 361 return NULL;
362 362
363 mutex_lock(&tegra_dma_lock); 363 mutex_lock(&tegra_dma_lock);