diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-12-08 08:38:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-08 15:47:46 +0300 |
commit | a504b1ee417ffd1e3c272b4594213edf14af3ef1 (patch) | |
tree | 9b7d24a4f4b8a02a5d1d092389a6b165036f024f /sound/soc/sh/rcar/cmd.c | |
parent | f98ed119a7c5feacb1fc1c8d7f6c68934cd27384 (diff) | |
download | linux-a504b1ee417ffd1e3c272b4594213edf14af3ef1.tar.xz |
ASoC: rsnd: tidyup data align position for capture
L/R channel data has been treated as inverted on R-Car sound 16bit mode,
Thus, 4689032b1("ASoC: rsnd: tidyup data align position") tidyuped data
align position. But it couldn't care about capture case. This patch
cares both playback/capture
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/cmd.c')
-rw-r--r-- | sound/soc/sh/rcar/cmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sh/rcar/cmd.c b/sound/soc/sh/rcar/cmd.c index ab904c3f20b5..cd1f064e63c4 100644 --- a/sound/soc/sh/rcar/cmd.c +++ b/sound/soc/sh/rcar/cmd.c @@ -80,6 +80,7 @@ static int rsnd_cmd_init(struct rsnd_mod *mod, dev_dbg(dev, "ctu/mix path = 0x%08x", data); rsnd_mod_write(mod, CMD_ROUTE_SLCT, data); + rsnd_mod_write(mod, CMD_BUSIF_DALIGN, rsnd_get_dalign(mod, io)); rsnd_adg_set_cmd_timsel_gen2(mod, io); |