summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorGary Zhang <b13634@freescale.com>2012-08-28 17:15:42 +0800
committerJason Liu <r64343@freescale.com>2012-08-29 17:08:34 +0800
commitb1dcc415c19e680f0633a93f9733e89bdf1def55 (patch)
tree35704d23688c40f59c3f1121accd8551d9c70d84 /sound/soc
parentbc8071ffde5c04b49c1ec9133dfd0b8826207776 (diff)
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 <b13634@freescale.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/wm8962.c3
1 files changed, 2 insertions, 1 deletions
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 <broonie@opensource.wolfsonmicro.com>
*
+ * 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");