[spi-devel-general] [PATCH v2 4/6] mtd: m25p80: add a read function to read page by page

David Brownell david-b at pacbell.net
Tue Aug 10 23:44:03 EST 2010



--- On Tue, 8/10/10, Grant Likely <grant.likely at secretlab.ca> wrote:

> This one bothers me, but I can't put my
> finger on it. The flag feels
> like a controller specific hack.

That's because it *IS* ...

Not clear what a good fix would look like.
But in general, SPI master controllers are
responsible for returning all bytes requested,
instead of (as with this one) a subset.

Suggesting the real issue is a buggy SPI
master controller and/or driver.  Can't it
issue multiple reads to collect all the data
requested?? 

- Dave






More information about the Linuxppc-dev mailing list