commit | bacdbe077342ecc9e7b3e374cc5a41995116706a | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Wed Apr 04 15:48:28 2012 -0600 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Apr 06 10:47:34 2012 +0100 |
tree | b5cf9547a0ab4a7fba287a3d654d132869057afa | |
parent | 0135bbcc7a0cc056f0203ff839466236b8e3dc19 [diff] |
regmap: introduce fast_io busses, and use a spinlock for them Some bus types have very fast IO. For these, acquiring a mutex for every IO operation is a significant overhead. Allow busses to indicate their IO is fast, and enhance regmap to use a spinlock for those busses. [Currently limited to native endian registers -- broonie] Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>