]> git.sur5r.net Git - u-boot/commit
altera_qspi: call callback even if the erase failed
authorThomas Chou <thomas@wytron.com.tw>
Wed, 23 Dec 2015 02:26:03 +0000 (10:26 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Mon, 28 Dec 2015 01:32:43 +0000 (09:32 +0800)
commit9e957aa4ce959faa89d31bc3ff401cc08bbc1013
tree33a683e3278cce6d58b417905ee5abadad9023db
parent78680314c53a95c0bb25e942662979843b60d7b9
altera_qspi: call callback even if the erase failed

Erase is an asynchronous operation.  Device drivers are supposed
to call instr->callback() whenever the operation completes, even
if it completes with a failure.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
drivers/mtd/altera_qspi.c