summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-pcm.c
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2020-10-12 12:32:21 +0200
committerMark Brown <broonie@kernel.org>2020-10-14 21:29:56 +0200
commit3d53c6df4299134525ad9e197f480e89bc8b06af (patch)
tree77b3ad40f63771ba188ac6ceb71f1d743e52d039 /sound/soc/soc-pcm.c
parentASoC: Intel: catpt: Wake up device before configuring SSP port (diff)
downloadlinux-3d53c6df4299134525ad9e197f480e89bc8b06af.tar.xz
linux-3d53c6df4299134525ad9e197f480e89bc8b06af.zip
ASoC: Intel: catpt: Relax clock selection conditions
Stress tests show that DSP may occasionally be late with signaling WAIT state when all pins are made use of simultaneously plus start/stop (pause) gets involved. While this isn't tied to standard audio scenarios where only System Pin (playback and capture) is involved, ensure user is not hindered when playing with more advanced scenarios. >From DSP perspective, clock acts as a resource: low clock equals less resources, high clock more resources. Relax clock selection procedure so only low -> high switch is allowed when awaiting WAIT signal times out. Once active stream count decreases, DSP will have more time internally to adjust thus low clock selection becomes possible again. Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://lore.kernel.org/r/20201012103221.30759-2-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-pcm.c')
0 files changed, 0 insertions, 0 deletions