[alsa-devel] [PATCH] ASoC: Store DC offset correction for wm_hubs devices in class W mode

Liam Girdwood lrg at slimlogic.co.uk
Thu Oct 28 11:11:20 CEST 2010


On Wed, 2010-10-27 at 20:34 -0700, Mark Brown wrote:
> Providing the analogue configuration of the output path remains the same
> the DC offset corrected by the DC servo will remain identical so we can
> skip the callibration, reducing the startup time for the headphone output.
> Implement this for the wm_hubs devices as has been done for several other
> CODECs.
> 
> Don't do this if we have any analogue paths enabled since offsets may be
> being introduced by the analogue paths which could vary outside the
> control of the driver.
> 
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
> ---
> 
> This change has not been tested yet but I'm sending it out for review
> now to accelerate the process.
> 
>  sound/soc/codecs/wm8993.c  |    2 +
>  sound/soc/codecs/wm8994.c  |    3 ++
>  sound/soc/codecs/wm_hubs.c |   69 +++++++++++++++++++++++++++++--------------
>  sound/soc/codecs/wm_hubs.h |    3 ++
>  4 files changed, 54 insertions(+), 23 deletions(-)

Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>

-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list