Revert "ASoC: soc-pcm: fix BE handling of PAUSE_RELEASE"
This reverts commit ce30b2f48b which is
commit 3aa1e96a2b95e2ece198f8dd01e96818971b84df upstream.
It is part of a series of ASoC patches that break the Android abi. If
they are needed in the future they can be brought back in an ABI-safe
way.
Bug: 161946584
Change-Id: I367de4f245782b2fd6f467cf40d7264339f06bf3
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -2164,10 +2164,7 @@ int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream,
|
||||
be->dpcm[stream].state = SND_SOC_DPCM_STATE_START;
|
||||
break;
|
||||
case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
|
||||
if (!be->dpcm[stream].be_start &&
|
||||
(be->dpcm[stream].state != SND_SOC_DPCM_STATE_START) &&
|
||||
(be->dpcm[stream].state != SND_SOC_DPCM_STATE_STOP) &&
|
||||
(be->dpcm[stream].state != SND_SOC_DPCM_STATE_PAUSED))
|
||||
if ((be->dpcm[stream].state != SND_SOC_DPCM_STATE_PAUSED))
|
||||
goto next;
|
||||
|
||||
be->dpcm[stream].be_start++;
|
||||
|
||||
Reference in New Issue
Block a user