]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: davinci-mcasp: dai format runtime reconfiguration
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 11 Mar 2016 11:18:51 +0000 (13:18 +0200)
committerMark Brown <broonie@kernel.org>
Sat, 12 Mar 2016 02:42:26 +0000 (09:42 +0700)
commitfa7c7ef5294eb80183ddac41175195fccdde9073
treed87ce175b21210a659f35f48c0bc2951ca4df766
parenta19fc81db6a6d43ed5b5bbe9eb6d31bfddb6f33a
ASoC: davinci-mcasp: dai format runtime reconfiguration

In case when the dai format is set via the dai_link the format
configuration happens once when the links are probed. If the McASP lose
context after this, the information will be lost and McASP will not going
to work correctly.
To overcome this issue, we save the fmt and set it within hw_params as
well.

Reported-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-mcasp.c