]> Pileus Git - ~andy/linux/blobdiff - arch/arm/mach-orion5x/common.c
Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[~andy/linux] / arch / arm / mach-orion5x / common.c
index 87a6cdabcad532bea28c09c5d9785e340d25460f..2fdd4e4f559ae9e2f2bf604aaa77fc277e055e09 100644 (file)
@@ -194,6 +194,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;