regmap: Add hardware spinlock support

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>
This commit is contained in:
Baolin Wang 2017-11-01 10:11:55 +08:00 • committed by Mark Brown
commit 8698b93647
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
3 changed files with 93 additions and 16 deletions