ASoC: sgtl5000: Initialize CHIP_ANA_POWER to power-on defaults
authorEric Nelson <eric@nelint.com>
Mon, 6 Jun 2016 23:14:50 +0000 (01:14 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 15 Jun 2016 13:09:21 +0000 (14:09 +0100)
commit3d632cc87204b51a4b32bdaa970fe6b8d879347e
tree159ee0138af062f0ec7b29411c92f9c04d245177
parentf219b16959ee3df2fd49f09493b3f6b28487c416
ASoC: sgtl5000: Initialize CHIP_ANA_POWER to power-on defaults

Initialize CHIP_ANA_POWER to match power on defaults, which disables
ADC, DAC, and charge pumps.

In the process, remove references to the following register/bitfields
from the sgtl5000_set_power_regs routine:
CHIP_ANA_POWER/LINREG_SIMPLE_POWERUP and
CHIP_LINREG_CTRL/LINREG_VDD_MASK

And remove CHIP_ANA_POWER and CHIP_LINREG_CTRL from the set of default
registers so they don't get clobbered by sgtl5000_fill_defaults().

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
This page took 0.032704 seconds and 5 git commands to generate.