Skip to content

Commit

Permalink
ASoC: stm32: dfsdm: add mmap support
Browse files Browse the repository at this point in the history
Enable direct access (mmap) support.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Olivier Moysan authored and Mark Brown committed Mar 20, 2019
1 parent cd53787 commit d151cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/stm/stm32_adfsdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct stm32_adfsdm_priv {

static const struct snd_pcm_hardware stm32_adfsdm_pcm_hw = {
.info = SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER |
SNDRV_PCM_INFO_PAUSE,
SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_PAUSE,
.formats = SNDRV_PCM_FMTBIT_S32_LE,

.rate_min = 8000,
Expand Down

0 comments on commit d151cf8

Please sign in to comment.