Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231569
b: refs/heads/master
c: dafa731
h: refs/heads/master
i:
  231567: 81b846f
v: v3
  • Loading branch information
Russell King - ARM Linux authored and Dan Williams committed Jan 5, 2011
1 parent 7cc77d7 commit abf0d35
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: bf072af461c166964fb110cfcafccd752fbb4c64
refs/heads/master: dafa73171be8dd31b485f5839e3376b1ca908e24
5 changes: 3 additions & 2 deletions trunk/drivers/dma/amba-pl08x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1332,9 +1332,10 @@ static int pl08x_prep_channel_resources(struct pl08x_dma_chan *plchan,
int ret;

num_llis = pl08x_fill_llis_for_desc(pl08x, txd);

if (!num_llis)
if (!num_llis) {
kfree(txd);
return -EINVAL;
}

spin_lock_irqsave(&plchan->lock, plchan->lockflags);

Expand Down

0 comments on commit abf0d35

Please sign in to comment.