Skip to content

Commit

Permalink
ASoC: wm8962: Don't duplicate bias level management in resume
Browse files Browse the repository at this point in the history
The core will bring the bias level up for us since we use idle_bias_off,
duplicating this may be harmful.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Aug 9, 2012
1 parent 8b5eae1 commit 52c0eee
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions sound/soc/codecs/wm8962.c
Original file line number Diff line number Diff line change
Expand Up @@ -3733,21 +3733,6 @@ static int wm8962_runtime_resume(struct device *dev)

regcache_sync(wm8962->regmap);

regmap_update_bits(wm8962->regmap, WM8962_ANTI_POP,
WM8962_STARTUP_BIAS_ENA | WM8962_VMID_BUF_ENA,
WM8962_STARTUP_BIAS_ENA | WM8962_VMID_BUF_ENA);

/* Bias enable at 2*50k for ramp */
regmap_update_bits(wm8962->regmap, WM8962_PWR_MGMT_1,
WM8962_VMID_SEL_MASK | WM8962_BIAS_ENA,
WM8962_BIAS_ENA | 0x180);

msleep(5);

/* VMID back to 2x250k for standby */
regmap_update_bits(wm8962->regmap, WM8962_PWR_MGMT_1,
WM8962_VMID_SEL_MASK, 0x100);

return 0;
}

Expand Down

0 comments on commit 52c0eee

Please sign in to comment.