commit | a42678c4c8b5f6d489829ffc3071fa1f08ee99d1 | [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 13 11:29:16 2012 +0100 |
tree | 94d3445cc6e269686d759f319b9bc38a316bb7e4 | |
parent | 26b5e74d318241d95430d440e43ebbdfab3c70d4 [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>