diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-09-24 07:54:33 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-09-26 16:48:47 -0700 |
commit | 84d5dfbf09be6be71d6dda63d99a8303e85663c7 (patch) | |
tree | 0350a7ed6c06b2aecaa05fcd3501fac4277eaa7d /arch | |
parent | 23f3f0613f6172ef1f0cbb0e971adf29f1c1fe5e (diff) | |
download | linux-3.10-84d5dfbf09be6be71d6dda63d99a8303e85663c7.tar.gz linux-3.10-84d5dfbf09be6be71d6dda63d99a8303e85663c7.tar.bz2 linux-3.10-84d5dfbf09be6be71d6dda63d99a8303e85663c7.zip |
ARM: Orion5x: Fix too small coherent pool.
Some Orion5x devices allocate their coherent buffers from atomic
context. Increase size of atomic coherent pool to make sure such the
allocations won't fail during boot.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-orion5x/common.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/common.c b/arch/arm/mach-orion5x/common.c index 410291c6766..a6cd14ab1e4 100644 --- a/arch/arm/mach-orion5x/common.c +++ b/arch/arm/mach-orion5x/common.c @@ -204,6 +204,13 @@ void __init orion5x_wdt_init(void) void __init orion5x_init_early(void) { orion_time_set_base(TIMER_VIRT_BASE); + + /* + * Some Orion5x devices allocate their coherent buffers from atomic + * context. Increase size of atomic coherent pool to make sure such + * the allocations won't fail. + */ + init_dma_coherent_pool_size(SZ_1M); } int orion5x_tclk; |