From: Dimitris Papastamos Date: Fri, 27 Jul 2012 13:54:15 +0000 (+0100) Subject: regmap: Don't lock in regmap_reinit_cache() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~107^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d879514e73f3e6b27617d9898c83c9939462dda;p=pandora-kernel.git regmap: Don't lock in regmap_reinit_cache() When bus->fast_io is set, the locking here is done with spinlocks. This is currently true for the regmap-mmio bus implementation. While holding a spinlock we can't go to sleep, various operations like removing the debugfs entries or re-initializing the cache will sleep, therefore, shift the locking up to the user. Signed-off-by: Dimitris Papastamos Signed-off-by: Mark Brown --- Reading git-diff-tree failed