]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/soc/fsl/mpc5200_psc_ac97.c
Merge remote-tracking branch 'jc_docs/docs-next'
[karo-tx-linux.git] / sound / soc / fsl / mpc5200_psc_ac97.c
index 0bab76051fd830dd0bc0a3d993341ad8cd759afe..243700cc29e618417d2e3561f6c554031229d531 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/of_device.h>
 #include <linux/of_platform.h>
 #include <linux/delay.h>
+#include <linux/time.h>
 
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
@@ -127,7 +128,7 @@ static void psc_ac97_cold_reset(struct snd_ac97 *ac97)
 
        mutex_unlock(&psc_dma->mutex);
 
-       msleep(1);
+       usleep_range(1000, 2000);
        psc_ac97_warm_reset(ac97);
 }