diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-03-26 11:29:33 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-03-27 03:42:01 +0300 |
commit | 02bcba0b9f9da706d5bd1e8cbeb83493863e17b5 (patch) | |
tree | f1856a45da359f2192865b629abb5920c584c4e0 /tools/perf/scripts/python/task-analyzer.py | |
parent | eeac8ede17557680855031c6f305ece2378af326 (diff) | |
download | linux-02bcba0b9f9da706d5bd1e8cbeb83493863e17b5.tar.xz |
regulator: Handle deferred clk
devm_clk_get() can return -EPROBE_DEFER. So it is better to return the
error code from devm_clk_get(), instead of a hard coded -ENOENT.
This gives more opportunities to successfully probe the driver.
Fixes: 8959e5324485 ("regulator: fixed: add possibility to enable by clock")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/18459fae3d017a66313699c7c8456b28158b2dd0.1679819354.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions