diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-06-06 13:59:14 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-07-11 08:40:13 +0200 |
commit | 03b1d11a998b70df2ca699a9b9fb8ab5b0746d43 (patch) | |
tree | 7022494a4ad28b70c930eef5fcc254657b00646e /drivers/mtd/tests | |
parent | a92c721dc638b3745266ffe85617fe54dfadff19 (diff) | |
download | linux-03b1d11a998b70df2ca699a9b9fb8ab5b0746d43.tar.bz2 |
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>
Diffstat (limited to 'drivers/mtd/tests')
0 files changed, 0 insertions, 0 deletions