Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45122
b: refs/heads/master
c: de4fa99
h: refs/heads/master
v: v3
  • Loading branch information
David Brownell authored and Linus Torvalds committed Dec 30, 2006
1 parent 1e1857a commit b113a6e
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: 17c65d69906a6e2e6df4822b00a9e5e00e35ea9a
refs/heads/master: de4fa99266b2e1f6771644b9b50f33fe8f82d728
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/devices/mtd_dataflash.c
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ static int __devinit dataflash_probe(struct spi_device *spi)
if (status <= 0 || status == 0xff) {
DEBUG(MTD_DEBUG_LEVEL1, "%s: status error %d\n",
spi->dev.bus_id, status);
if (status == 0xff)
if (status == 0 || status == 0xff)
status = -ENODEV;
return status;
}
Expand Down

0 comments on commit b113a6e

Please sign in to comment.