diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-03-02 17:21:35 +0100 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2025-03-13 17:11:56 -0500 |
commit | f41658cd081ad7697796b3dacd9a717a57919268 (patch) | |
tree | 8dedb1d2b5c20d1e4c9e94db3c3f788dc6666fce /scripts/lib/kdoc/kdoc_output.py | |
parent | a9ac4ba7dcace2b3b91e7b87bf0ba97c47edd94f (diff) |
bus: qcom-ssc-block-bus: Fix the error handling path of qcom_ssc_block_bus_probe()
If qcom_ssc_block_bus_pds_enable() fails, the previous call to
qcom_ssc_block_bus_pds_attach() must be undone, as already done in the
remove function.
In order to do that, move the code related to the power domains management
to the end of the function, in order to avoid many changes in all the error
handling path that would need to go through the new error handling path.
Fixes: 97d485edc1d9 ("bus: add driver for initializing the SSC bus on (some) qcom SoCs")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/1b89ec7438c9a893c09083e8591772c8ad3cb599.1740932040.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions