diff options
author | Katsuhiro Suzuki <katsuhiro@katsuster.net> | 2018-11-11 00:18:44 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-13 10:06:23 -0800 |
commit | 16a8ee4c80b45984b6de1f90a49edcf336b7c621 (patch) | |
tree | 4e4e85446cad34e3c40e3ff6c6d94776c278e96c /sound/soc/rockchip | |
parent | 278df5e5527b633f4882f1680ad58b62a7c07bfe (diff) |
ASoC: rockchip: add missing slave_config setting for I2S
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>
Diffstat (limited to 'sound/soc/rockchip')
-rw-r--r-- | sound/soc/rockchip/rockchip_pcm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/rockchip/rockchip_pcm.c b/sound/soc/rockchip/rockchip_pcm.c index 9e7b5fa4cf59..4ac78d7a4b2d 100644 --- a/sound/soc/rockchip/rockchip_pcm.c +++ b/sound/soc/rockchip/rockchip_pcm.c @@ -33,6 +33,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, }; |