diff options
author | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2009-08-03 09:35:20 +0000 |
---|---|---|
committer | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2009-08-03 09:35:20 +0000 |
commit | 90e95c4c52828b43f5a494c158c0dfd2e31a42d2 (patch) | |
tree | d76cdee91b7051e5edc1423169874d0755c2d95e /spi.c | |
parent | 73e0c6180ac35dbd9c111ec583d8d774afa854c8 (diff) | |
download | flashrom-90e95c4c52828b43f5a494c158c0dfd2e31a42d2.tar.gz |
Fix SPI multicommand endless loop in default_spi_send_multicommand.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@670 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'spi.c')
-rw-r--r-- | spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -147,6 +147,7 @@ int default_spi_send_multicommand(struct spi_command *spicommands) while ((spicommands->writecnt || spicommands->readcnt) && !result) { result = spi_send_command(spicommands->writecnt, spicommands->readcnt, spicommands->writearr, spicommands->readarr); + spicommands++; } return result; } |