diff options
-rw-r--r-- | sound/soc/fsl/mpc5200_psc_ac97.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/fsl/mpc5200_psc_ac97.c b/sound/soc/fsl/mpc5200_psc_ac97.c index 7eb549985d49..c4ae3e096bb9 100644 --- a/sound/soc/fsl/mpc5200_psc_ac97.c +++ b/sound/soc/fsl/mpc5200_psc_ac97.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | #include <linux/of_device.h> | 13 | #include <linux/of_device.h> |
14 | #include <linux/of_platform.h> | 14 | #include <linux/of_platform.h> |
15 | #include <linux/delay.h> | ||
15 | 16 | ||
16 | #include <sound/pcm.h> | 17 | #include <sound/pcm.h> |
17 | #include <sound/pcm_params.h> | 18 | #include <sound/pcm_params.h> |
@@ -112,7 +113,7 @@ static void psc_ac97_cold_reset(struct snd_ac97 *ac97) | |||
112 | out_8(®s->op1, MPC52xx_PSC_OP_RES); | 113 | out_8(®s->op1, MPC52xx_PSC_OP_RES); |
113 | udelay(10); | 114 | udelay(10); |
114 | out_8(®s->op0, MPC52xx_PSC_OP_RES); | 115 | out_8(®s->op0, MPC52xx_PSC_OP_RES); |
115 | udelay(50); | 116 | msleep(1); |
116 | psc_ac97_warm_reset(ac97); | 117 | psc_ac97_warm_reset(ac97); |
117 | } | 118 | } |
118 | 119 | ||