Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233016
b: refs/heads/master
c: 7c28938
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Feb 7, 2011
1 parent 1680281 commit 8581f92
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ec11594fbd5a3d2a47a7a7eda6d076363b78957c
refs/heads/master: 7c289385b84d136089b8a1149321ebffa5193595
8 changes: 7 additions & 1 deletion trunk/sound/arm/aaci.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ static void aaci_ac97_select_codec(struct aaci *aaci, struct snd_ac97 *ac97)
if (v & SLFR_1RXV)
readl(aaci->base + AACI_SL1RX);

writel(maincr, aaci->base + AACI_MAINCR);
if (maincr != readl(aaci->base + AACI_MAINCR)) {
writel(maincr, aaci->base + AACI_MAINCR);
readl(aaci->base + AACI_MAINCR);
udelay(1);
}
}

/*
Expand Down Expand Up @@ -993,6 +997,8 @@ static unsigned int __devinit aaci_size_fifo(struct aaci *aaci)
* disabling the channel doesn't clear the FIFO.
*/
writel(aaci->maincr & ~MAINCR_IE, aaci->base + AACI_MAINCR);
readl(aaci->base + AACI_MAINCR);
udelay(1);
writel(aaci->maincr, aaci->base + AACI_MAINCR);

/*
Expand Down

0 comments on commit 8581f92

Please sign in to comment.