commit | a4887813c3a9481ab87c8a71ab1de50b975cc823 | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Mon Dec 25 14:37:09 2017 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Dec 27 10:37:03 2017 +0000 |
tree | 73640dff96d261e0af789f0f09e42e0e13cef47f | |
parent | a1a68fcaf165a6ed202d8e29a692c559e10106c4 [diff] |
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>