git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: rt5660: use msleep() for long delay
[sfrench/cifs-2.6.git]
/
sound
/
soc
/
codecs
/
rt5660.c
diff --git
a/sound/soc/codecs/rt5660.c
b/sound/soc/codecs/rt5660.c
index 296b7b0ca4f32a2bdccca2ae90d43e93ba5b730d..c93490d77f2aea38af1b7f5f3c3dbe22f27f4a4f 100644
(file)
--- a/
sound/soc/codecs/rt5660.c
+++ b/
sound/soc/codecs/rt5660.c
@@
-1152,7
+1152,7
@@
static int rt5660_resume(struct snd_soc_codec *codec)
struct rt5660_priv *rt5660 = snd_soc_codec_get_drvdata(codec);
if (rt5660->pdata.poweroff_codec_in_suspend)
-
usleep_range(350000, 40000
0);
+
msleep(35
0);
regcache_cache_only(rt5660->regmap, false);
regcache_sync(rt5660->regmap);