diff options
author | Viorel Suman <viorel.suman@nxp.com> | 2022-02-08 14:17:27 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-14 12:52:58 +0000 |
commit | 3c7a4c24bd0ac2dfeb4f3f9053a2207cad90c7dd (patch) | |
tree | d61c64bbc8778af45b589ab37652de9743590138 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0b88a659002151e354272a13ae29d8b795ef1b46 (diff) |
ASoC: codec: wm8960: complete discharge on BIAS OFF->STANDBY
On BIAS STANDBY->OFF transition the current implementation sleeps
600ms on suspend in order to discharge the chip. The suspend is
propagated from "snd_soc_suspend" call for all audio cards in a
serial fashion, thus in case of boards like i.MX8DXL EVK which has
3 distinct WM8960 codecs the total cumulated sleep on suspend is 1.8
seconds.
On the other hand the BIAS OFF->STANDBY transition happens
asynchronously with regard to "snd_soc_resume" - the call is
propagated from "soc_resume_deferred" which is just scheduled
from "snd_soc_resume", each card having its own work scheduled to
execute "soc_resume_deferred" call.
The patch performs discharge completion on BIAS OFF->STANDBY transition
so that the cumulated effect on suspend described above is avoided
and discharge is completed in paralel in case of multiple WM8960
codecs on the board.
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Link: https://lore.kernel.org/r/20220208121727.4461-1-viorel.suman@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions