regmap: Add hardware spinlock support
authorBaolin Wang <baolin.wang@linaro.org>
Wed, 1 Nov 2017 02:11:55 +0000 (10:11 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 1 Nov 2017 10:06:29 +0000 (10:06 +0000)
On some platforms, when reading or writing some special registers through
regmap, we should acquire one hardware spinlock to synchronize between
the multiple subsystems. Thus this patch adds the hardware spinlock
support for regmap.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found