summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/rcar/src.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-11-30 09:49:33 +0100
committerMark Brown <broonie@kernel.org>2015-11-30 19:11:23 +0100
commitc45f7263a805e1c5d8579569884d32141330589f (patch)
treeb098f224e32326dde053f4585b544e68482a1dcf /sound/soc/sh/rcar/src.c
parentASoC: rsnd: don't use normal *mod in adg.c (diff)
downloadlinux-c45f7263a805e1c5d8579569884d32141330589f.tar.xz
linux-c45f7263a805e1c5d8579569884d32141330589f.zip
ASoC: rsnd: add missing ADINR::CHNUM on DVC/SRC/SSIU
DVC/SRC/SSIU needs ADINR::CHNUM settings too. This patch adds these missing value. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/src.c')
-rw-r--r--sound/soc/sh/rcar/src.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c
index 6d93c4ed8275..30cad79deab0 100644
--- a/sound/soc/sh/rcar/src.c
+++ b/sound/soc/sh/rcar/src.c
@@ -199,7 +199,8 @@ static void rsnd_src_set_convert_rate(struct rsnd_dai_stream *io,
/*
* SRC_ADINR
*/
- adinr = rsnd_get_adinr_bit(mod, io);
+ adinr = rsnd_get_adinr_bit(mod, io) |
+ rsnd_get_adinr_chan(mod, io);
/*
* SRC_IFSCR / SRC_IFSVR