summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-01-07 22:00:06 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2018-01-07 22:00:06 +0300
commitc11a5fe66ff2e5c17a7634901288e7f444701ffb (patch)
treebcc58653e92bdae3b48f0dc7e74dda72528c0b37
parent75d4276e83a353d5e41da676f418d4a12f6f6e6c (diff)
parentfee4380f368e84ed216b62ccd2fbc4126f2bf40b (diff)
downloadlinux-c11a5fe66ff2e5c17a7634901288e7f444701ffb.tar.xz
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
-rw-r--r--drivers/mtd/nand/pxa3xx_nand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c
index 90b9a9ccbe60..9285f60e5783 100644
--- a/drivers/mtd/nand/pxa3xx_nand.c
+++ b/drivers/mtd/nand/pxa3xx_nand.c
@@ -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;