ASoC: mxs-saif: fix setting SAIF1 register
authorJörg Krause <joerg.krause@embedded.rocks>
Fri, 13 Jan 2017 20:44:28 +0000 (21:44 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 17 Jan 2017 18:19:36 +0000 (18:19 +0000)
commitb25658ed7d24cd8b1f9a72148e80e216b6a0c17a
tree83e19bcd6583ce3aa7bb945105bdda94fd85db84
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: mxs-saif: fix setting SAIF1 register

If SAIF0 is used in master and SAIF1 in slave mode setting the SAIF1
register in mxs_saif_set_dai_fmt() does not have any effect on the
interface as the clk gate needs to be cleared before the register can be
written.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mxs/mxs-saif.c