diff options
author | Liu Xiang <[email protected]> | 2018-08-28 22:32:57 +0800 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2018-10-12 11:48:19 +0200 |
commit | 41fe242979e463d6ad251077ded01b825a330b7e (patch) | |
tree | e55c2c96c208b1a27818c4eb642a11ef890f13dc /lib/memory-notifier-error-inject.c | |
parent | 42460c31ae96cbad5ae226ee6c10bd8d70d764ae (diff) |
mtd: spi-nor: fsl-quadspi: fix read error for flash size larger than 16MB
If the size of spi-nor flash is larger than 16MB, the read_opcode
is set to SPINOR_OP_READ_1_1_4_4B, and fsl_qspi_get_seqid() will
return -EINVAL when cmd is SPINOR_OP_READ_1_1_4_4B. This can
cause read operation fail.
Fixes: e46ecda764dc ("mtd: spi-nor: Add Freescale QuadSPI driver")
Cc: <[email protected]>
Signed-off-by: Liu Xiang <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions