regmap: Add one flag to indicate if a hwlock should be used

Since the hwlock id 0 is valid for hardware spinlock core, but now id 0
is treated as one invalid value for regmap. Thus we should add one extra
flag for regmap config to indicate if a hardware spinlock should be used,
then id 0 can be valid for regmap to request.

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-12-25 14:37:09 +08:00 • committed by Mark Brown
commit a4887813c3
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 3 additions and 1 deletions