aboutsummaryrefslogtreecommitdiffstats
path: root/w39v040c.c
diff options
context:
space:
mode:
authorAlex Badea <vamposdecampos@gmail.com>2010-11-10 03:10:41 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-11-10 03:10:41 +0000
commitb9556e0fd4ab189b5d9dcb86b2bdbf8e5c584db7 (patch)
treec1166ef08ed111353fef468d1e4ee5466bf411ba /w39v040c.c
parentdb7afc59c9e376f4506e89939676d38b46353b2c (diff)
downloadflashrom-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