ASoC: arizona: Avoid changing SYNC_ENA whilst the FLL_ENA is set
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 2 Sep 2016 15:52:45 +0000 (16:52 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 14 Sep 2016 17:07:53 +0000 (18:07 +0100)
commit0f72a8a39cd033a26bddafe2b101d12cac039bdc
tree88633f9a3601d1c34c54bb3d5fb153ec3f7d8d10
parent9fd1cd58356bcc1c4710a454796bff0cc997d5da
ASoC: arizona: Avoid changing SYNC_ENA whilst the FLL_ENA is set

For best performance changing the synchroniser state whilst the FLL is
running should be avoided. As this has been done fairly regularly in
practice rather than hard preventing this, simply improve the FLL enable
sequence and give a warning if the user changes the synchroniser state.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/arizona.c