]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
spi: omap3: Fix timeout handling
authorDavid Dueck <davidcdueck@googlemail.com>
Wed, 1 Apr 2015 12:20:24 +0000 (14:20 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:31:33 +0000 (22:31 +0200)
commit0003fd65d0e5104c1fd57df7e146c3b23c44eab2
treebf384d4b83aa79d81f27202768decd392f3f6bf6
parente40393228044cb57a3859140663fa583cae029ec
spi: omap3: Fix timeout handling

The timeout value is never reset during the transfer. This means that when
transferring more data we eventually trigger the timeout.

This was reported on the mailing list:
"Spansion SPI flash read timeout with AM335x"

Signed-off-by: David Dueck <davidcdueck@googlemail.com>
CC: Tom Rini <trini@konsulko.com>
CC: Stefan Roese <sr@denx.de>
CC: Andy Pont <andy.pont@sdcsystems.com>
Tested-by: David Dueck <davidcdueck@googlemail.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
drivers/spi/omap3_spi.c