aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/s3c24xx
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/s3c24xx')
-rw-r--r--sound/soc/s3c24xx/s3c-ac97.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/s3c24xx/s3c-ac97.c b/sound/soc/s3c24xx/s3c-ac97.c
index 31e2b3d35a90..f891eb79b575 100644
--- a/sound/soc/s3c24xx/s3c-ac97.c
+++ b/sound/soc/s3c24xx/s3c-ac97.c
@@ -163,6 +163,7 @@ static void s3c_ac97_write(struct snd_ac97 *ac97, unsigned short reg,
163 163
164static void s3c_ac97_cold_reset(struct snd_ac97 *ac97) 164static void s3c_ac97_cold_reset(struct snd_ac97 *ac97)
165{ 165{
166 pr_debug("AC97: Cold reset\n");
166 writel(S3C_AC97_GLBCTRL_COLDRESET, 167 writel(S3C_AC97_GLBCTRL_COLDRESET,
167 s3c_ac97.regs + S3C_AC97_GLBCTRL); 168 s3c_ac97.regs + S3C_AC97_GLBCTRL);
168 msleep(1); 169 msleep(1);
@@ -179,6 +180,8 @@ static void s3c_ac97_warm_reset(struct snd_ac97 *ac97)
179 if (stat == S3C_AC97_GLBSTAT_MAINSTATE_ACTIVE) 180 if (stat == S3C_AC97_GLBSTAT_MAINSTATE_ACTIVE)
180 return; /* Return if already active */ 181 return; /* Return if already active */
181 182
183 pr_debug("AC97: Warm reset\n");
184
182 writel(S3C_AC97_GLBCTRL_WARMRESET, s3c_ac97.regs + S3C_AC97_GLBCTRL); 185 writel(S3C_AC97_GLBCTRL_WARMRESET, s3c_ac97.regs + S3C_AC97_GLBCTRL);
183 msleep(1); 186 msleep(1);
184 187