Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 129655
b: refs/heads/master
c: 5b96f17
h: refs/heads/master
i:
  129653: 1b053fb
  129651: 8b347ba
  129647: 970ef4b
v: v3
  • Loading branch information
Stanislaw Gruszka authored and Linus Torvalds committed Jan 16, 2009
1 parent c344f0d commit 5164788
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 1f14081d8b31b2780e2e6e2ae2766264e1f7d38b
refs/heads/master: 5b96f1729064453e09805a387378e0644da1c937
3 changes: 1 addition & 2 deletions trunk/drivers/spi/atmel_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,7 @@ static int atmel_spi_transfer(struct spi_device *spi, struct spi_message *msg)
dev_dbg(controller, "new message %p submitted for %s\n",
msg, spi->dev.bus_id);

if (unlikely(list_empty(&msg->transfers)
|| !spi->max_speed_hz))
if (unlikely(list_empty(&msg->transfers)))
return -EINVAL;

if (as->stopping)
Expand Down

0 comments on commit 5164788

Please sign in to comment.