diff options
author | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-11-10 03:10:41 +0000 |
---|---|---|
committer | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-11-10 03:10:41 +0000 |
commit | 7bf3f5990eae3a692e5956566d9e366186cd1783 (patch) | |
tree | c1166ef08ed111353fef468d1e4ee5466bf411ba /spi25.c | |
parent | 04cb7c145c1917b305eabc6029dbfa152fd258c9 (diff) | |
download | flashrom-7bf3f5990eae3a692e5956566d9e366186cd1783.tar.gz |
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.
Signed-off-by: Alex Badea <vamposdecampos@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1228 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'spi25.c')
0 files changed, 0 insertions, 0 deletions