diff options
Diffstat (limited to 'sound/soc/fsl/mpc5200_psc_ac97.c')
-rw-r--r-- | sound/soc/fsl/mpc5200_psc_ac97.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/fsl/mpc5200_psc_ac97.c b/sound/soc/fsl/mpc5200_psc_ac97.c index 794a247b3eb5..9b8503f2d68c 100644 --- a/sound/soc/fsl/mpc5200_psc_ac97.c +++ b/sound/soc/fsl/mpc5200_psc_ac97.c | |||
@@ -41,6 +41,10 @@ static unsigned short psc_ac97_read(struct snd_ac97 *ac97, unsigned short reg) | |||
41 | pr_err("timeout on ac97 bus (rdy)\n"); | 41 | pr_err("timeout on ac97 bus (rdy)\n"); |
42 | return -ENODEV; | 42 | return -ENODEV; |
43 | } | 43 | } |
44 | |||
45 | /* Force clear the data valid bit */ | ||
46 | in_be32(&psc_dma->psc_regs->ac97_data); | ||
47 | |||
44 | /* Send the read */ | 48 | /* Send the read */ |
45 | out_be32(&psc_dma->psc_regs->ac97_cmd, (1<<31) | ((reg & 0x7f) << 24)); | 49 | out_be32(&psc_dma->psc_regs->ac97_cmd, (1<<31) | ((reg & 0x7f) << 24)); |
46 | 50 | ||