Re: [PATCH 3/6] ASoC: sgtl5000: Initialize CHIP_ANA_POWER to power-on defaults

From: Fabio Estevam
Date: Tue Jun 14 2016 - 22:13:10 EST


On Mon, Jun 6, 2016 at 8:14 PM, Clemens Gruber
<clemens.gruber@xxxxxxxxxxxx> wrote:
> From: Eric Nelson <eric@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Signed-off-by: Clemens Gruber <clemens.gruber@xxxxxxxxxxxx>

Tested-by: Fabio Estevam <fabio.estevam@xxxxxxx>