Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198405
b: refs/heads/master
c: 4a12404
h: refs/heads/master
i:
  198403: bb9d516
v: v3
  • Loading branch information
Grzegorz Sygieda authored and Grant Likely committed May 25, 2010
1 parent a436997 commit ec4f10d
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 781c7b129b1beb876905f7212927aa0ee1b022e5
refs/heads/master: 4a12404ddaa06e8ec5e2c0d8ece4d821281e6024
2 changes: 1 addition & 1 deletion trunk/drivers/spi/amba-pl022.c
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,6 @@ static int stop_queue(struct pl022 *pl022)
* A wait_queue on the pl022->busy could be used, but then the common
* execution path (pump_messages) would be required to call wake_up or
* friends on every SPI message. Do this instead */
pl022->run = QUEUE_STOPPED;
while (!list_empty(&pl022->queue) && pl022->busy && limit--) {
spin_unlock_irqrestore(&pl022->queue_lock, flags);
msleep(10);
Expand All @@ -1220,6 +1219,7 @@ static int stop_queue(struct pl022 *pl022)

if (!list_empty(&pl022->queue) || pl022->busy)
status = -EBUSY;
else pl022->run = QUEUE_STOPPED;

spin_unlock_irqrestore(&pl022->queue_lock, flags);

Expand Down

0 comments on commit ec4f10d

Please sign in to comment.