summaryrefslogtreecommitdiffstats
path: root/sound/soc/stm
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@st.com>2019-03-04 15:52:45 +0100
committerMark Brown <broonie@kernel.org>2019-03-20 17:17:05 +0000
commitd151cf89a47666622425ff093ee97e15587acd9a (patch)
treea40795ea2c32e9380f6cddf2071c29c2d1223096 /sound/soc/stm
parentcd537873729cf939996a6984df080e6a0dfac0fb (diff)
downloadlinux-d151cf89a47666622425ff093ee97e15587acd9a.tar.bz2
ASoC: stm32: dfsdm: add mmap support
Enable direct access (mmap) support. Signed-off-by: Olivier Moysan <olivier.moysan@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/stm')
-rw-r--r--sound/soc/stm/stm32_adfsdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/stm/stm32_adfsdm.c b/sound/soc/stm/stm32_adfsdm.c
index 47901983a6ff..1f20ff1ccb57 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,