diff options
author | Dmitry Osipenko <[email protected]> | 2020-09-02 17:18:43 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-09-02 19:53:27 +0100 |
commit | 21f8e4828c44da39b0670c5d99d5728b739542a1 (patch) | |
tree | a9343b0f35521b63cb1c37dcc7e938957af4f1f2 /scripts/gdb/linux/config.py | |
parent | d17343b87da422a59d99a3ed130573dbeb96c582 (diff) |
regmap: Add can_sleep configuration option
Regmap can't sleep if spinlock is used for the locking protection.
This patch fixes regression caused by a previous commit that switched
regmap to use fsleep() and this broke Amlogic S922X platform.
This patch adds new configuration option for regmap users, allowing to
specify whether regmap operations can sleep and assuming that sleep is
allowed if mutex is used for the regmap locking protection.
Reported-by: Marek Szyprowski <[email protected]>
Fixes: 2b32d2f7ce0a ("regmap: Use flexible sleep")
Signed-off-by: Dmitry Osipenko <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions