NAND/CORE: Comment use of alive_sleep()

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
__archive__
Antonio Borneo 2010-12-31 19:18:10 +08:00 committed by Øyvind Harboe
parent 52044a17ce
commit 7bb79f0f51
1 changed files with 1 additions and 0 deletions

View File

@ -776,6 +776,7 @@ int nand_page_command(struct nand_device *nand, uint32_t page,
if (!nand->controller->nand_ready(nand, 100))
return ERROR_NAND_OPERATION_TIMEOUT;
} else {
/* nand_poll_read() cannot be used during nand read */
alive_sleep(1);
}