ASoC: sgtl5000: Disable internal PLL early
authorEric Nelson <eric@nelint.com>
Mon, 6 Jun 2016 23:14:51 +0000 (01:14 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 15 Jun 2016 13:09:26 +0000 (14:09 +0100)
commit08dea16e0960ea5caf7876045b747145cb677096
treefe82f1e933151b82d45e1378e7055af6a5d38c0c
parent3d632cc87204b51a4b32bdaa970fe6b8d879347e
ASoC: sgtl5000: Disable internal PLL early

To handle the soft reboot case, the internal PLL must be
disabled in SGTL5000_CHIP_CLK_CTRL before clearing bits
SGTL5000_VCOAMP_POWERUP and SGTL5000_PLL_POWERUP in
register SGTL5000_CHIP_ANA_POWER.

Signed-off-by: Eric Nelson <eric@nelint.com>
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sgtl5000.c
sound/soc/codecs/sgtl5000.h