Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48988
b: refs/heads/master
c: 62578cb
h: refs/heads/master
v: v3
  • Loading branch information
Kevin Hilman authored and Russell King committed Feb 18, 2007
1 parent 8184b68 commit af61822
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: f69eda00d4e9808f0ddc88826278f93512cd2c98
refs/heads/master: 62578cbfaa50df06b3bb6e4231adc3b911a3d4b4
7 changes: 4 additions & 3 deletions trunk/sound/arm/aaci.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,11 @@ static inline void aaci_chan_wait_ready(struct aaci_runtime *aacirun)
/*
* Interrupt support.
*/
static void aaci_fifo_irq(struct aaci *aaci, u32 mask)
static void aaci_fifo_irq(struct aaci *aaci, int channel, u32 mask)
{
if (mask & ISR_URINTR) {
writel(ICLR_TXUEC1, aaci->base + AACI_INTCLR);
dev_dbg(&aaci->dev->dev, "TX underrun on chan %d\n", channel);
writel(ICLR_TXUEC1 << channel, aaci->base + AACI_INTCLR);
}

if (mask & ISR_TXINTR) {
Expand Down Expand Up @@ -233,7 +234,7 @@ static irqreturn_t aaci_irq(int irq, void *devid)
u32 m = mask;
for (i = 0; i < 4; i++, m >>= 7) {
if (m & 0x7f) {
aaci_fifo_irq(aaci, m);
aaci_fifo_irq(aaci, i, m);
}
}
}
Expand Down

0 comments on commit af61822

Please sign in to comment.