From: Gary Zhang Date: Tue, 28 Aug 2012 09:15:42 +0000 (+0800) Subject: ENGR00221689 wm8962: add wait time after enable power supply X-Git-Tag: v3.0.35-fsl~532 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8b1a64fdfe749314fb182877861411ac1a6cab4e;p=karo-tx-linux.git ENGR00221689 wm8962: add wait time after enable power supply add 100ms wait time after enable power supply for power stability Signed-off-by: Gary Zhang --- diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index 8558be580ee3..b14531157067 100644 --- a/sound/soc/codecs/wm8962.c +++ b/sound/soc/codecs/wm8962.c @@ -5,6 +5,7 @@ * * Author: Mark Brown * + * Copyright (C) 2012 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -4019,7 +4020,7 @@ static int wm8962_probe(struct snd_soc_codec *codec) dev_err(codec->dev, "Failed to enable supplies: %d\n", ret); goto err_get; } - + msleep(100); ret = snd_soc_read(codec, WM8962_SOFTWARE_RESET); if (ret < 0) { dev_err(codec->dev, "Failed to read ID register\n");