From: Mark Brown Date: Tue, 18 Mar 2014 10:53:26 +0000 (+0000) Subject: regmap: Ensure regmap_register_patch() is compatible with fast_io X-Git-Tag: v3.15-rc1~149^2^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56fb1c74f3bda1c0100fc3e9a7888c229174f9a4;p=pandora-kernel.git regmap: Ensure regmap_register_patch() is compatible with fast_io With fast_io we use mutexes to lock the I/O operations so we would need to do GFP_ATOMIC allocations if we wanted to do allocations inside the lock as we do currently. Since it is unlikely that we will want to register a patch outside of init where concurrency shouldn't be an issue move the allocation of the patch data outside the lock. Reported-by: Takashi Iwai Signed-off-by: Mark Brown --- Reading git-diff-tree failed