Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155319
b: refs/heads/master
c: 0757353
h: refs/heads/master
i:
  155317: 06ec3b8
  155315: d3ec8e9
  155311: a75926f
v: v3
  • Loading branch information
Grant Likely authored and Mark Brown committed Jul 3, 2009
1 parent 499ad84 commit 0d0b93f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1df892cba45f9856d369a6a317ad2d1e44bca423
refs/heads/master: 07573534b0b030226ee5ab560e53aac7e6c0dd84
4 changes: 4 additions & 0 deletions trunk/sound/soc/fsl/mpc5200_psc_ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ static unsigned short psc_ac97_read(struct snd_ac97 *ac97, unsigned short reg)
pr_err("timeout on ac97 bus (rdy)\n");
return -ENODEV;
}

/* Force clear the data valid bit */
in_be32(&psc_dma->psc_regs->ac97_data);

/* Send the read */
out_be32(&psc_dma->psc_regs->ac97_cmd, (1<<31) | ((reg & 0x7f) << 24));

Expand Down

0 comments on commit 0d0b93f

Please sign in to comment.