]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: vf610: set correct ooblayout
authorStefan Agner <stefan@agner.ch>
Fri, 9 Feb 2018 12:21:42 +0000 (13:21 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 12 Feb 2018 09:56:36 +0000 (10:56 +0100)
commit0a7f32144552d221de432950f18500c4097a2980
treefcaddeec9acfe43801ec6cc9058f027965d03ec2
parentae0945d7fbe5a6a5e767169d0c9ca622784b3c38
mtd: nand: vf610: set correct ooblayout

With commit 384a2ceb6208 ("mtd: nand: vf610: switch to
mtd_ooblayout_ops") the driver started to use the NAND cores
default large page ooblayout. However, shortly after commit
197fdccc8177 ("mtd: nand: add ooblayout for old hamming layout")
changed the default layout to the old hamming layout, which is
not what vf610_nfc is using. Specify the default large page
layout explicitly.

Fixes: 197fdccc8177 ("mtd: nand: add ooblayout for old hamming layout")
Cc: <stable@vger.kernel.org> # v4.12+
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/vf610_nfc.c