Skip to content

Commit

Permalink
Merge tag 'for-linus-20180107' of git://git.infradead.org/linux-mtd
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Linus Torvalds committed Jan 7, 2018
2 parents 75d4276 + fee4380 commit c11a5fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mtd/nand/pxa3xx_nand.c
Original file line number Diff line number Diff line change
@@ -963,6 +963,7 @@ static void prepare_start_command(struct pxa3xx_nand_info *info, int command)

switch (command) {
case NAND_CMD_READ0:
case NAND_CMD_READOOB:
case NAND_CMD_PAGEPROG:
info->use_ecc = 1;
break;

0 comments on commit c11a5fe

Please sign in to comment.