diff options
author | Mark Brown <broonie@linaro.org> | 2014-03-18 06:53:26 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-18 08:21:35 -0400 |
commit | 56fb1c74f3bda1c0100fc3e9a7888c229174f9a4 (patch) | |
tree | 4cf163d91b52f07fec2fcde9c1d7f4867b794e2a /drivers/base/dma-contiguous.c | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
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 <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/base/dma-contiguous.c')
0 files changed, 0 insertions, 0 deletions