Skip to content

Commit

Permalink
ASoC: Activate DCS correction for WM8993
Browse files Browse the repository at this point in the history
Use a two code correction for optimal performance.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
  • Loading branch information
Mark Brown committed Feb 1, 2010
1 parent 3ed7074 commit be587ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/soc/codecs/wm8993.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* wm8993.c -- WM8993 ALSA SoC audio driver
*
* Copyright 2009 Wolfson Microelectronics plc
* Copyright 2009, 2010 Wolfson Microelectronics plc
*
* Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
*
Expand Down Expand Up @@ -1598,6 +1598,7 @@ static int wm8993_i2c_probe(struct i2c_client *i2c,
codec->private_data = wm8993;

wm8993->hubs_data.hp_startup_mode = 1;
wm8993->hubs_data.dcs_codes = -2;

memcpy(wm8993->reg_cache, wm8993_reg_defaults,
sizeof(wm8993->reg_cache));
Expand Down

0 comments on commit be587ef

Please sign in to comment.