commit | 03b1d11a998b70df2ca699a9b9fb8ab5b0746d43 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Mon Jun 06 13:59:14 2016 +0200 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Mon Jul 11 08:40:13 2016 +0200 |
tree | 7022494a4ad28b70c930eef5fcc254657b00646e | |
parent | a92c721dc638b3745266ffe85617fe54dfadff19 [diff] |
mtd: nand: sunxi: fix subpage write Implement ecc->write_subpage() to prevent core code from assigning this hook to nand_write_subpage_hwecc(). This default implementation tries to call ecc->hwctl() which in our case is NULL, thus leading to a NULL pointer dereference. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>