summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/sgtl5000.h
diff options
context:
space:
mode:
authorEric Nelson <eric@nelint.com>2016-06-07 01:14:51 +0200
committerMark Brown <broonie@kernel.org>2016-06-15 14:09:26 +0100
commit08dea16e0960ea5caf7876045b747145cb677096 (patch)
treefe82f1e933151b82d45e1378e7055af6a5d38c0c /sound/soc/codecs/sgtl5000.h
parent3d632cc87204b51a4b32bdaa970fe6b8d879347e (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.h1
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