ASoC: Intel: Skylake: Don't reset pass-through pipe in BE prepare
When pipe is pass-through, BE and FE modules are defined inside a pipe, reset of pipe will be done in FE DAI prepare. So don't reset in the BE prepare. Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Родитель
3122c66fd2
Коммит
7cbfdf87f4
|
@ -572,8 +572,8 @@ static int skl_link_pcm_prepare(struct snd_pcm_substream *substream,
|
||||||
|
|
||||||
/* In case of XRUN recovery, reset the FW pipe to clean state */
|
/* In case of XRUN recovery, reset the FW pipe to clean state */
|
||||||
mconfig = skl_tplg_be_get_cpr_module(dai, substream->stream);
|
mconfig = skl_tplg_be_get_cpr_module(dai, substream->stream);
|
||||||
if (mconfig && (substream->runtime->status->state ==
|
if (mconfig && !mconfig->pipe->passthru &&
|
||||||
SNDRV_PCM_STATE_XRUN))
|
(substream->runtime->status->state == SNDRV_PCM_STATE_XRUN))
|
||||||
skl_reset_pipe(skl->skl_sst, mconfig->pipe);
|
skl_reset_pipe(skl->skl_sst, mconfig->pipe);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче