projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d4563
)
ARM: tegra: Don't WARN_ON() for too early dma channel allocations
author
Olof Johansson
<olof@lixom.net>
Thu, 22 Dec 2011 14:17:40 +0000
(14:17 +0000)
committer
Olof Johansson
<olof@lixom.net>
Tue, 7 Feb 2012 02:24:58 +0000
(18:24 -0800)
Since we'll do opportunistic allocations before the dma subsystem is
enabled we want just silent failures and retries instead.
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-tegra/dma.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-tegra/dma.c
b/arch/arm/mach-tegra/dma.c
index c0cf967e47d3bced9577a43d87c3c42c9465e251..98b33c89b2c5f2d344b3ee3bf017947b58148f5e 100644
(file)
--- 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)
int channel;
struct tegra_dma_channel *ch = NULL;
- if (
WARN_ON(!tegra_dma_initialized)
)
+ if (
!tegra_dma_initialized
)
return NULL;
mutex_lock(&tegra_dma_lock);