]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0cb128a24eb9057229bc4dfcc678fc18564acd4
tree6438a05b4fc37b1749cdd92106bce2d82e59203a
parente093e7638c5c8269af6b6a0ef83bdb4c435a802d
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