commit | b9556e0fd4ab189b5d9dcb86b2bdbf8e5c584db7 | [log] [tgz] |
---|---|---|
author | Alex Badea <vamposdecampos@gmail.com> | Wed Nov 10 03:10:41 2010 +0000 |
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Wed Nov 10 03:10:41 2010 +0000 |
tree | c1166ef08ed111353fef468d1e4ee5466bf411ba | |
parent | db7afc59c9e376f4506e89939676d38b46353b2c [diff] |
Retry short reads in ft2232_spi It is possible that ftdi_read_data() returns less data than requested. Catch this case and retry reading the rest of the buffer. Corresponding to flashrom svn r1228. Signed-off-by: Alex Badea <vamposdecampos@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>