]> bbs.cooldavid.org Git - net-next-2.6.git/commit - sound/soc/codecs/wm_hubs.c
ASoC: Improved wm_hubs headphone handling
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jan 2010 17:39:45 +0000 (17:39 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Feb 2010 18:35:46 +0000 (18:35 +0000)
commit3ed7074c4cc0de5ba77e180e5d96c23ef96859f0
treef9a08d09b5ccc96664f385c5c74860802c40e213
parent2f1ff6614cb5938e5c5760358752d92deb67fb63
ASoC: Improved wm_hubs headphone handling

Perform DC servo offset calibration using a series update sequence
rather than startup update sequence, tuning the configuration of the
WM8993 DC servo to make best use of this.

Also introduce currently unused data allowing us to correct for
any systematic errors in the DC servo calibration results and an
alternative startup path for the headphone output which performs
better with some chip revisions.  The alternative setup sequence is
enabled for WM8993.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/wm8993.c
sound/soc/codecs/wm_hubs.c
sound/soc/codecs/wm_hubs.h