regmap: introduce fast_io busses, and use a spinlock for them
authorStephen Warren <swarren@nvidia.com>
Wed, 4 Apr 2012 21:48:28 +0000 (15:48 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Apr 2012 09:47:34 +0000 (10:47 +0100)
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>

No differences found