projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f1b327
)
ASoC: rockchip: add missing INTERLEAVED PCM attribute
author
Katsuhiro Suzuki
<katsuhiro@katsuster.net>
Mon, 10 Sep 2018 16:39:32 +0000
(
01:39
+0900)
committer
Mark Brown
<broonie@kernel.org>
Tue, 11 Sep 2018 18:19:53 +0000
(19:19 +0100)
This patch adds SNDRV_PCM_INFO_INTERLEAVED into PCM hardware info.
Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_pcm.c
patch
|
blob
|
history
diff --git
a/sound/soc/rockchip/rockchip_pcm.c
b/sound/soc/rockchip/rockchip_pcm.c
index f7753831922168537f1e84f9f221746c3cfc84a0..9e7b5fa4cf59630ee65d2ee15e9893f97d8245ce 100644
(file)
--- a/
sound/soc/rockchip/rockchip_pcm.c
+++ b/
sound/soc/rockchip/rockchip_pcm.c
@@
-21,7
+21,8
@@
static const struct snd_pcm_hardware snd_rockchip_hardware = {
.info = SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_MMAP_VALID |
SNDRV_PCM_INFO_PAUSE |
- SNDRV_PCM_INFO_RESUME,
+ SNDRV_PCM_INFO_RESUME |
+ SNDRV_PCM_INFO_INTERLEAVED,
.period_bytes_min = 32,
.period_bytes_max = 8192,
.periods_min = 1,