From: Ondrej Zary Date: Tue, 21 Apr 2015 21:27:50 +0000 (+0200) Subject: aha1542: Allocate memory before taking a lock X-Git-Tag: omap-for-v4.2/omap1-v2~39^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c08a6215a432a8f3629da0e8ccfd534ffa480f5;p=pandora-kernel.git aha1542: Allocate memory before taking a lock The driver currently calls kmalloc with GFP_KERNEL while holding a lock. Fix it by doing the allocation earlier, before taking the lock. Tested on AHA-1542B. Signed-off-by: Ondrej Zary Signed-off-by: James Bottomley --- Reading git-diff-tree failed