diff options
author | Yogesh Gaur <yogeshnarayan.gaur@nxp.com> | 2018-06-13 08:08:12 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-10-08 21:28:27 +0200 |
commit | 630d6bd8a3b4964e8a4ccced97f7f1819c92b588 (patch) | |
tree | 323fb4fc33d83b2834bee8250e5e21ec34afb031 /drivers/mtd/devices | |
parent | mtd: spi-nor: cadence-quadspi: Use proper enum for dma_[un]map_single (diff) | |
download | linux-630d6bd8a3b4964e8a4ccced97f7f1819c92b588.tar.xz linux-630d6bd8a3b4964e8a4ccced97f7f1819c92b588.zip |
mtd: spi-nor: Support controllers with limited TX FIFO size
Some SPI controllers can't write nor->page_size bytes in a single
step because their TX FIFO is too small.
Allow nor->write() to return a size that is smaller than the requested
write size to gracefully handle this case.
Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd/devices')
0 files changed, 0 insertions, 0 deletions