ASoC: rsnd: rsnd_get_dalign() needs to care SSIU, not SSI
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 2 Dec 2016 02:44:23 +0000 (02:44 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 5 Dec 2016 11:36:43 +0000 (11:36 +0000)
commit3ce2959d162a8f2d69a83582df619a20ff3f6645
tree375400144335b7bec313ea279f68eca571e7bf8c
parent4821d914fe747a91453021675a74069776f0b819
ASoC: rsnd: rsnd_get_dalign() needs to care SSIU, not SSI

SSIU was controlled by SSI before, but
commit c7f69ab53("ASoC: rsnd: use mod base common method on SSIU")
separated it into ssiu.c

But, it didn't care about rsnd_get_dalign() for judging SSI_BUSIF_DALIGN
register value which changes the stream data order.
This function will be called from cmd/src/ssiu now, but current code
still cares ssi, not ssiu.
This patch fix it up

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/rsnd.h