Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116048
b: refs/heads/master
c: 8a1a627
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Oct 20, 2008
1 parent 87e2a98 commit 029afa2
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: 7d28e0d1e55442d198f7c35626d2c460ac04cab2
refs/heads/master: 8a1a6272057e2ad90ab531a70330165888866e60
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/devices/m25p80.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static inline int write_enable(struct m25p *flash)
{
u8 code = OPCODE_WREN;

return spi_write(flash->spi, &code, 1);
return spi_write_then_read(flash->spi, &code, 1, NULL, 0);
}


Expand Down

0 comments on commit 029afa2

Please sign in to comment.