Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 630d6bd8 authored by Yogesh Gaur's avatar Yogesh Gaur Committed by Boris Brezillon
Browse files

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: default avatarYogesh Gaur <yogeshnarayan.gaur@nxp.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
parent 900f5e0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment