diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-02-05 19:04:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-02-06 18:52:50 +0300 |
commit | d1520889782dff58610c0b6b54d4cf3211ceb690 (patch) | |
tree | 31646407bb818456a68e74c069e141cae169cc2c /tools/perf/scripts/python/stackcollapse.py | |
parent | 13426feaf46c48fcddb591e89d35120fcc90527f (diff) | |
download | linux-d1520889782dff58610c0b6b54d4cf3211ceb690.tar.xz |
ASoC: fsl_sai: Fix exiting path on probing failure
If the imx-sdma driver is built as a module, the fsl-sai device doesn't
disable on probing failure, which causes the warning in the next probing:
==================================================================
fsl-sai 308a0000.sai: Unbalanced pm_runtime_enable!
fsl-sai 308a0000.sai: Unbalanced pm_runtime_enable!
fsl-sai 308a0000.sai: Unbalanced pm_runtime_enable!
fsl-sai 308a0000.sai: Unbalanced pm_runtime_enable!
fsl-sai 308a0000.sai: Unbalanced pm_runtime_enable!
fsl-sai 308a0000.sai: Unbalanced pm_runtime_enable!
==================================================================
Disabling the device properly fixes the issue.
Fixes: 812ad463e089 ("ASoC: fsl_sai: Add support for runtime pm")
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Link: https://lore.kernel.org/r/20200205160436.3813642-1-oleksandr.suvorov@toradex.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions