Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287773
b: refs/heads/master
c: 46e33c6
h: refs/heads/master
i:
  287771: eb79758
v: v3
  • Loading branch information
Javi Merino authored and Russell King committed Feb 15, 2012
1 parent 237bb5a commit e9fc574
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 4272f98a1ae81709fc5c804c33c044064e419cd9
refs/heads/master: 46e33c606af8e0caeeca374103189663d877c0d6
3 changes: 2 additions & 1 deletion trunk/arch/arm/common/pl330.c
Original file line number Diff line number Diff line change
Expand Up @@ -1502,12 +1502,13 @@ int pl330_chan_ctrl(void *ch_id, enum pl330_chan_op op)
struct pl330_thread *thrd = ch_id;
struct pl330_dmac *pl330;
unsigned long flags;
int ret = 0, active = thrd->req_running;
int ret = 0, active;

if (!thrd || thrd->free || thrd->dmac->state == DYING)
return -EINVAL;

pl330 = thrd->dmac;
active = thrd->req_running;

spin_lock_irqsave(&pl330->lock, flags);

Expand Down

0 comments on commit e9fc574

Please sign in to comment.