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)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:24:36 +0000 (09:24 +0900)
commitaa3041d2fcb72f1e94d87e38d274ced7770b7ab2
treeecde29b60c65e2dfc0bcc8fc740a631f38976525
parentc3617b079d37674f238e847b9dbae56e11776e99
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>
(cherry picked from commit 1a7889ca8aba333d7c74fad543d692c31bc7f280)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
sound/soc/sh/rcar/core.c