diff options
author | 2021-02-05 19:59:30 +0100 | |
---|---|---|
committer | 2021-02-05 19:16:59 +0000 | |
commit | c63b95b76e69b679b9b95014552db099eb77a4fa (patch) | |
tree | 4557a88d934ba65b878e6cc6885aeea0e46e1921 /scripts/gdb/linux/utils.py | |
parent | spi: stm32: driver uses reset controller only at init (diff) | |
download | linux-dev-c63b95b76e69b679b9b95014552db099eb77a4fa.tar.xz linux-dev-c63b95b76e69b679b9b95014552db099eb77a4fa.zip |
spi: stm32: defer probe for reset
Defer the probe operation when a reset controller device is expected
but have not yet been probed.
This change replaces use of devm_reset_control_get_exclusive() with
devm_reset_control_get_optional_exclusive() as reset controller is
optional which is now explicitly stated.
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Link: https://lore.kernel.org/r/1612551572-495-7-git-send-email-alain.volmat@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions