diff options
author | Lubomir Rintel <[email protected]> | 2020-05-20 10:35:16 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-05-20 15:48:16 +0100 |
commit | 6ea460d52299f7febd408f2710d7c43ce505bc2c (patch) | |
tree | 007aa958d8508af0622de9d3caee268ad05b91d4 /drivers/usb/cdns3/cdns3-debug.h | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions