mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
misc: cs40l2x: Restore additional registers following basic mode
Added GPIO configuration and amplifier digital volume to the list of registers restored to their respective default values following the shutdown of ROM mode, but the initialization of RAM mode (B1 only). Change-Id: If317a0b7145718d45cea3249037a503d60c32d37 Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com> Signed-off-by: Ravi Vembu <raviv@motorola.com>
This commit is contained in:
parent
9454721ee8
commit
e9867607c7
1 changed files with 4 additions and 0 deletions
|
|
@ -2669,6 +2669,10 @@ static const struct reg_sequence cs40l2x_rev_b0_errata[] = {
|
|||
static const struct reg_sequence cs40l2x_basic_mode_revert[] = {
|
||||
{CS40L2X_PWR_CTRL1, 0x00000000},
|
||||
{CS40L2X_PWR_CTRL2, 0x00003321},
|
||||
{CS40L2X_LRCK_PAD_CONTROL, 0x00000007},
|
||||
{CS40L2X_SDIN_PAD_CONTROL, 0x00000007},
|
||||
{CS40L2X_GPIO_PAD_CONTROL, 0x00000000},
|
||||
{CS40L2X_AMP_DIG_VOL_CTRL, 0x00008000},
|
||||
{CS40L2X_IRQ2_MASK1, 0xFFFFFFFF},
|
||||
{CS40L2X_IRQ2_MASK2, 0xFFFFFFFF},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue