[flashrom] [PATCH 4/5] ft2232_spi: retry short reads

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Wed Nov 10 04:11:17 CET 2010


On 16.10.2010 14:20, Alex Badea wrote:
> It's possible that ftdi_read_data() returns less data
> than requested.  Catch this case and retry reading the rest
> of the buffer.
>
> Signed-off-by: Alex Badea <vamposdecampos at gmail.com>
>   

Thanks for spotting and fixing this bug!
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
and committed in r1228.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the flashrom mailing list