diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2019-07-26 10:20:52 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-07-26 14:24:47 +0300 |
commit | f9adf61e983f5d03334d841bc30f0e967a340b37 (patch) | |
tree | 1e0aabd84dff42d01e1a37c40620733d28554334 /Documentation/devicetree/bindings/spi/spi-sprd.txt | |
parent | e6d722ca09c1eebba5660e58b6bcac30c1ccc7ca (diff) | |
download | linux-f9adf61e983f5d03334d841bc30f0e967a340b37.tar.xz |
spi: sprd: adi: Change hwlock to be optional
Now Spreadtrum ADI controller supplies multiple master accessing channel
to support multiple subsystems accessing, instead of using a hardware
spinlock to synchronize between the multiple subsystems.
To keep backward compatibility, we should change the hardware spinlock
to be optional. Moreover change to use of_hwspin_lock_get_id() function
which return -ENOENT error number to indicate no hwlock support.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Link: https://lore.kernel.org/r/2abe7dcf210e4197f8c5ece7fc6d6cc1eda8c655.1564125131.git.baolin.wang@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/spi-sprd.txt')
0 files changed, 0 insertions, 0 deletions