From: Takashi Iwai Date: Tue, 18 Mar 2014 11:58:33 +0000 (+0100) Subject: regmap: Fix possible sleep-in-atomic in regmap_bulk_write() X-Git-Tag: v3.15-rc1~149^2^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4999e9621a58fa03fe18aa2ea55838bd2e755190;p=pandora-kernel.git regmap: Fix possible sleep-in-atomic in regmap_bulk_write() regmap deploys the spinlock for the protection when set up in fast_io mode. This may lead to sleep-in-atomic by memory allocation with GFP_KERNEL in regmap_bulk_write(). This patch fixes it by moving the allocation out of the lock. [Fix excessively large locked region -- broonie] Signed-off-by: Takashi Iwai Signed-off-by: Mark Brown --- Reading git-diff-tree failed