diff options
| author | Michael Walle <[email protected]> | 2022-08-10 22:06:52 +0000 |
|---|---|---|
| committer | Tudor Ambarus <[email protected]> | 2022-11-21 13:37:16 +0000 |
| commit | 39eece67a3cf027aa5b39d7da5feadc4711504e6 (patch) | |
| tree | 7eb592f34b579a04482c17cbbb3fae53fed97e5c /drivers/fpga/xilinx-spi.c | |
| parent | mtd: spi-nor: move function declaration out of sfdp.h (diff) | |
| download | kernel-39eece67a3cf027aa5b39d7da5feadc4711504e6.tar.gz kernel-39eece67a3cf027aa5b39d7da5feadc4711504e6.zip | |
mtd: spi-nor: fix select_uniform_erase to skip 0 erase size
4bait will set the erase size to 0 if there is no corresponding
opcode for the 4byte erase. Fix spi_nor_select_uniform_erase to skip
the 0 erase size to avoid mtd device registration failure cases.
Reported-by: Jae Hyun Yoo <[email protected]>
Signed-off-by: Michael Walle <[email protected]>
Signed-off-by: Tudor Ambarus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions
