ASoC: rsnd: care audio local bus data format consistency
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 31 Jul 2014 06:52:26 +0000 (23:52 -0700)
committerMark Brown <broonie@linaro.org>
Thu, 31 Jul 2014 19:36:33 +0000 (20:36 +0100)
commit1cc7195929501b96fccce42646f1ad0ffe2598a6
treec95106a51b948efff338dae5be397be05ad4e937
parent054cd7f4b986a941b56372b743602f7df6569c98
ASoC: rsnd: care audio local bus data format consistency

R-Car sound uses Audio Local Bus which uses Lch/Rch format.
This bus is used if driver uses BUSIF.
But sound data is written as Rch/Lch format in register.
This means Rch <-> Lch will be inverted.
SSIU :: BUSIF_DALIGN is used to controlling data format.

Reported-by: Jun Watanabe <jun.watanabe.ue@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/sh/rcar/gen.c
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/src.c