Skip to content

Commit 5c2c3cb

Browse files
dbalutabroonie
authored andcommitted
ASoC: SOF: define INFO_ flags in dsp_ops
In the past, the INFO_ flags such as PAUSE/NO_PERIOD_WAKEUP were defined in the SOF PCM core, but that was changed since commit 27e322f ("ASoC: SOF: define INFO_ flags in dsp_ops") Now these flags must be set in DSP ops. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/20200515135958.17511-7-kai.vehmanen@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 7d1952b commit 5c2c3cb

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎sound/soc/sof/imx/imx8m.c‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,12 @@ struct snd_sof_dsp_ops sof_imx8m_ops = {
273273
/* DAI drivers */
274274
.drv = imx8m_dai,
275275
.num_drv = 1, /* we have only 1 SAI interface on i.MX8M */
276+
277+
.hw_info = SNDRV_PCM_INFO_MMAP |
278+
SNDRV_PCM_INFO_MMAP_VALID |
279+
SNDRV_PCM_INFO_INTERLEAVED |
280+
SNDRV_PCM_INFO_PAUSE |
281+
SNDRV_PCM_INFO_NO_PERIOD_WAKEUP,
276282
};
277283
EXPORT_SYMBOL(sof_imx8m_ops);
278284

0 commit comments

Comments
 (0)