ASoC: rsnd: fixup SND_SOC_DAIFMT_xB_xF behavior
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 1 Aug 2014 01:08:18 +0000 (18:08 -0700)
committerMark Brown <broonie@linaro.org>
Fri, 1 Aug 2014 06:25:16 +0000 (07:25 +0100)
commit1a7889ca8aba333d7c74fad543d692c31bc7f280
tree6438a05b4fc37b1749cdd92106bce2d82e59203a
parent7c63f3c02f5a998621758239abed43c5bd454b70
ASoC: rsnd: fixup SND_SOC_DAIFMT_xB_xF behavior

In current R-Car rsnd driver,
the SND_SOC_DAIFMT_xB_xF flags are used to HW default behavior,
but, it should be used to specific format.
The waveforms of LEFT_J/RIGHT_J format with
SND_SOC_DAIFMT_NB_NF flag will be
started from "falling edge" without this patch.
But, it should be started from "rising edge".

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/core.c