commit | 8c08a6215a432a8f3629da0e8ccfd534ffa480f5 | [log] [tgz] |
---|---|---|
author | Ondrej Zary <linux@rainbow-software.org> | Tue Apr 21 23:27:50 2015 +0200 |
committer | James Bottomley <JBottomley@Odin.com> | Mon Apr 27 10:00:30 2015 -0700 |
tree | a618ae4c0fe0564a3e8fe36a3649ba661f317117 | |
parent | 35e9a9f93994d7f7d12afa41169c7ba05513721b [diff] |
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 <linux@rainbow-software.org> Signed-off-by: James Bottomley <JBottomley@Odin.com>