summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorKatsuhiro Suzuki <katsuhiro@katsuster.net>2018-11-11 00:18:44 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-17 09:24:32 +0100
commite4777c2e40f0592214f25aa0320c4505746dfd07 (patch)
treef215840c1e9cb60858a9541951b0d9762b86fb9c /sound/soc
parentdbc62bd3b05b772989de64421573f25552f5aead (diff)
ASoC: rockchip: add missing slave_config setting for I2S
[ Upstream commit 16a8ee4c80b45984b6de1f90a49edcf336b7c621 ] This patch adds missing prepare_sleve_config that is needed for setup the DMA slave channel for I2S. Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/rockchip/rockchip_pcm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/rockchip/rockchip_pcm.c b/sound/soc/rockchip/rockchip_pcm.c
index f77538319221..7029e0b85f9e 100644
--- a/sound/soc/rockchip/rockchip_pcm.c
+++ b/sound/soc/rockchip/rockchip_pcm.c
@@ -32,6 +32,7 @@ static const struct snd_pcm_hardware snd_rockchip_hardware = {
static const struct snd_dmaengine_pcm_config rk_dmaengine_pcm_config = {
.pcm_hardware = &snd_rockchip_hardware,
+ .prepare_slave_config = snd_dmaengine_pcm_prepare_slave_config,
.prealloc_buffer_size = 32 * 1024,
};