OSDN Git Service

ASoC: SOF: pcm: remove support for RESUME trigger
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Thu, 16 Dec 2021 23:16:26 +0000 (17:16 -0600)
committerMark Brown <broonie@kernel.org>
Fri, 17 Dec 2021 11:06:12 +0000 (11:06 +0000)
commiteed5391f6747ffa7e3972b53aa721bded8feeff7
treeb8d8bcf8da2ad602491642661c42e0c7c382f810
parent0f2ee77d2655bd4bb205fff16822e551159f41c9
ASoC: SOF: pcm: remove support for RESUME trigger

The SOF driver removed the support for INFO_RESUME in the commit
"ASoC: SOF: pcm: do not add SNDRV_PCM_INFO_RESUME to runtime hw info".
And resuming is handled by the ALSA core with the .prepare and
.trigger_start stages. So, remove handling of RESUME trigger in the
component driver trigger op.

Reviewed-by: Kai Vehmanen <kai.vehmanen@intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211216231628.344687-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/pcm.c