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@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@slimlogic.co.uk