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

Fabio Estevam festevam at gmail.com
Wed Jun 15 04:13:03 CEST 2016


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

Tested-by: Fabio Estevam <fabio.estevam at nxp.com>


More information about the Alsa-devel mailing list