diff options
author | Alex Badea <vamposdecampos@gmail.com> | 2010-11-10 03:10:41 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-11-10 03:10:41 +0000 |
commit | b9556e0fd4ab189b5d9dcb86b2bdbf8e5c584db7 (patch) | |
tree | c1166ef08ed111353fef468d1e4ee5466bf411ba /w39v040c.c | |
parent | db7afc59c9e376f4506e89939676d38b46353b2c (diff) | |
download | flashrom-b9556e0fd4ab189b5d9dcb86b2bdbf8e5c584db7.tar.gz flashrom-b9556e0fd4ab189b5d9dcb86b2bdbf8e5c584db7.tar.bz2 flashrom-b9556e0fd4ab189b5d9dcb86b2bdbf8e5c584db7.zip |
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>
Diffstat (limited to 'w39v040c.c')
0 files changed, 0 insertions, 0 deletions