projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd53787
)
ASoC: stm32: dfsdm: add mmap support
author
Olivier Moysan
<olivier.moysan@st.com>
Mon, 4 Mar 2019 14:52:45 +0000
(15:52 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 20 Mar 2019 17:17:05 +0000
(17:17 +0000)
Enable direct access (mmap) support.
Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_adfsdm.c
patch
|
blob
|
history
diff --git
a/sound/soc/stm/stm32_adfsdm.c
b/sound/soc/stm/stm32_adfsdm.c
index 47901983a6ff88706dd847376a42d5aeb2c3a4c6..1f20ff1ccb577a4c84bdae8252d5f22bc7b03ba9 100644
(file)
--- 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,