Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 374719
b: refs/heads/master
c: 3239a6c
h: refs/heads/master
i:
  374717: 1371b2f
  374715: 957c698
  374711: 8b5baa0
  374703: ebcb46d
  374687: 6d29184
  374655: 821bc6a
v: v3
  • Loading branch information
Artem Bityutskiy authored and David Woodhouse committed Apr 5, 2013
1 parent 2a90c26 commit cba5ab6
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 88ad4b162adb3821815d0098987040fca26c7d80
refs/heads/master: 3239a6cdef0be60ec2dadc501cf385dc419d7452
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2059,7 +2059,7 @@ static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
*/
cached = 0;

if (!cached || !(chip->options & NAND_CACHEPRG)) {
if (!cached || !NAND_HAS_CACHEPROG(chip)) {

chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1);
status = chip->waitfunc(mtd, chip);
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/mtd/nand.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ typedef enum {
#define NAND_SUBPAGE_READ 0x00001000

/* Options valid for Samsung large page devices */
#define NAND_SAMSUNG_LP_OPTIONS (NAND_CACHEPRG)
#define NAND_SAMSUNG_LP_OPTIONS NAND_CACHEPRG

/* Macros to identify the above */
#define NAND_HAS_CACHEPROG(chip) ((chip->options & NAND_CACHEPRG))
Expand Down

0 comments on commit cba5ab6

Please sign in to comment.