Browse Source

Merge tag 'for-linus-20180107' of git://git.infradead.org/linux-mtd

Pull MTD bugfix from Richard Weinberger:
 "A single fix for the pxa3xx NAND driver"

* tag 'for-linus-20180107' of git://git.infradead.org/linux-mtd:
  mtd: nand: pxa3xx: Fix READOOB implementation
Linus Torvalds 8 years ago
parent
commit
c11a5fe66f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/mtd/nand/pxa3xx_nand.c

+ 1 - 0
drivers/mtd/nand/pxa3xx_nand.c

@@ -963,6 +963,7 @@ static void prepare_start_command(struct pxa3xx_nand_info *info, int command)
 
 
 	switch (command) {
 	switch (command) {
 	case NAND_CMD_READ0:
 	case NAND_CMD_READ0:
+	case NAND_CMD_READOOB:
 	case NAND_CMD_PAGEPROG:
 	case NAND_CMD_PAGEPROG:
 		info->use_ecc = 1;
 		info->use_ecc = 1;
 		break;
 		break;