mtd: rawnand: brcmnand: fix hamming oob layout
commit98f3d59537906337610f24ff4222384105d26289
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 12 May 2020 07:57:32 +0000 (12 09:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:33:09 +0000 (22 09:33 +0200)
tree2079eb34ed3144460c6e69c6b37a4d5cebc3efdc
parent02f8e8c0d7535d81fad58914ff49498f39ba52a6
mtd: rawnand: brcmnand: fix hamming oob layout

commit 130bbde4809b011faf64f99dddc14b4b01f440c3 upstream.

First 2 bytes are used in large-page nand.

Fixes: ef5eeea6e911 ("mtd: nand: brcm: switch to mtd_ooblayout_ops")
Cc: stable@vger.kernel.org
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200512075733.745374-2-noltari@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/nand/raw/brcmnand/brcmnand.c