From: Olivier Moysan Date: Mon, 4 Mar 2019 14:52:45 +0000 (+0100) Subject: ASoC: stm32: dfsdm: add mmap support X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d151cf89a47666622425ff093ee97e15587acd9a;p=linux.git ASoC: stm32: dfsdm: add mmap support Enable direct access (mmap) support. Signed-off-by: Olivier Moysan Signed-off-by: Mark Brown --- diff --git a/sound/soc/stm/stm32_adfsdm.c b/sound/soc/stm/stm32_adfsdm.c index 47901983a6ff8..1f20ff1ccb577 100644 --- a/sound/soc/stm/stm32_adfsdm.c +++ b/sound/soc/stm/stm32_adfsdm.c @@ -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,