Re: [U-Boot] [PATCH 1/5] altera_qspi: call callback even if the erase failed

2015-12-27 Thread Thomas Chou
On 2015年12月24日 08:51, Thomas Chou wrote: 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 --- drivers/mtd/altera_qspi.c | 1 + 1 file changed, 1 inser

[U-Boot] [PATCH 1/5] altera_qspi: call callback even if the erase failed

2015-12-23 Thread Thomas Chou
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 --- drivers/mtd/altera_qspi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/altera_qspi.c