Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231568
b: refs/heads/master
c: bf072af
h: refs/heads/master
v: v3
  • Loading branch information
Russell King - ARM Linux authored and Dan Williams committed Jan 5, 2011
1 parent 81b846f commit 7cc77d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 91aa5fadb831e7b6ea473a526a6b49c6dc4819ce
refs/heads/master: bf072af461c166964fb110cfcafccd752fbb4c64
5 changes: 3 additions & 2 deletions trunk/drivers/dma/amba-pl08x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1627,11 +1627,12 @@ static void pl08x_tasklet(unsigned long data)
struct pl08x_dma_chan *plchan = (struct pl08x_dma_chan *) data;
struct pl08x_phy_chan *phychan = plchan->phychan;
struct pl08x_driver_data *pl08x = plchan->host;
unsigned long flags;

if (!plchan)
BUG();

spin_lock(&plchan->lock);
spin_lock_irqsave(&plchan->lock, flags);

if (plchan->at) {
dma_async_tx_callback callback =
Expand Down Expand Up @@ -1728,7 +1729,7 @@ static void pl08x_tasklet(unsigned long data)
}
}

spin_unlock(&plchan->lock);
spin_unlock_irqrestore(&plchan->lock, flags);
}

static irqreturn_t pl08x_irq(int irq, void *dev)
Expand Down

0 comments on commit 7cc77d7

Please sign in to comment.