diff options
author | Eric Nelson <eric@nelint.com> | 2016-06-07 01:14:51 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-15 14:09:26 +0100 |
commit | 08dea16e0960ea5caf7876045b747145cb677096 (patch) | |
tree | fe82f1e933151b82d45e1378e7055af6a5d38c0c /sound/soc/codecs/sgtl5000.h | |
parent | 3d632cc87204b51a4b32bdaa970fe6b8d879347e (diff) |
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>
Diffstat (limited to 'sound/soc/codecs/sgtl5000.h')
-rw-r--r-- | sound/soc/codecs/sgtl5000.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/sgtl5000.h b/sound/soc/codecs/sgtl5000.h index 1be82379c689..22f3442af982 100644 --- a/sound/soc/codecs/sgtl5000.h +++ b/sound/soc/codecs/sgtl5000.h @@ -92,6 +92,7 @@ /* * SGTL5000_CHIP_CLK_CTRL */ +#define SGTL5000_CHIP_CLK_CTRL_DEFAULT 0x0008 #define SGTL5000_RATE_MODE_MASK 0x0030 #define SGTL5000_RATE_MODE_SHIFT 4 #define SGTL5000_RATE_MODE_WIDTH 2 |