[PATCH] atmel_spi: add mesg->actual_length, so devices can use it for read/write

Michael Grzeschik mgr at pengutronix.de
Mon Jan 2 05:42:08 EST 2012


Hi,

On Sun, Jan 01, 2012 at 05:46:19AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 15:32 Thu 24 Nov     , Michael Grzeschik wrote:
> > Without this i.e. the m25p driver is not working properly.
> > 
> > Its used to calculate the return value of the read/write function of
> > some devices. If the value is missing, barebox would always
> > miscalculate the next transfer sizes.
> > 
> > Signed-off-by: Michael Grzeschik <m.grzeschik at pengutronix.de>
> > ---
> on which platform did you test it?

I tested it on the pm9g45.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list