commit | 6ea460d52299f7febd408f2710d7c43ce505bc2c | [log] [tgz] |
---|---|---|
author | Lubomir Rintel <lkundrak@v3.sk> | Wed May 20 10:35:16 2020 +0200 |
committer | Mark Brown <broonie@kernel.org> | Wed May 20 15:48:16 2020 +0100 |
tree | 007aa958d8508af0622de9d3caee268ad05b91d4 | |
parent | d81bb8726c247c3e7719d21bf213c5400de29e03 [diff] |
ASoC: mmp-sspa: Fix the error handling in probe() If we fail after pm_runtime_enable(), we fail to undo it. Same with clk_prepare_enable(). Let's order them after all things that can fail. Fixes: 7d98cc648253 ("ASoC: mmp-sspa: Add support for the runtime power management") Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20200520083516.2120802-1-lkundrak@v3.sk Signed-off-by: Mark Brown <broonie@kernel.org>