diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2012-07-27 14:54:15 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-04 11:07:57 +0100 |
commit | 4d879514e73f3e6b27617d9898c83c9939462dda (patch) | |
tree | 06bf8f994fb2ccefb68fa8aba07897c7d87fdc47 /arch/x86/kernel/cpu/common.c | |
parent | 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee (diff) |
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 <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
0 files changed, 0 insertions, 0 deletions