ASoC: fsl_ssi: call _fsl_ssi_set_dai_fmt() just once in AC'97 mode
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>
Tue, 21 Nov 2017 23:55:14 +0000 (00:55 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 29 Nov 2017 10:39:27 +0000 (10:39 +0000)
commitc997a92a78161af605b314cbe6cf636663999652
tree0ecd15e3fd9b42bbe475fa7095800151a0a0d6ce
parent74231295c67ada29a4566272d8ac4886d09f3e83
ASoC: fsl_ssi: call _fsl_ssi_set_dai_fmt() just once in AC'97 mode

In AC'97 mode we configure and start SSI RX / TX on probe path via
a call to _fsl_ssi_set_dai_fmt() function.
We don't need to call this function again later and in fact don't want to
do it since this function temporarily sets STCR, SRCR and SCR to some
intermediate values.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_ssi.c