OneNAND: Add touch_softlock_watchdog()

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri May 12 11:59:03 EDT 2006


commit 628bee6593107c466e28462f58c5fd5cd4163c7c
tree 5487fecea1e5220ff7448f68d1b26d375b11f1e8
parent 20ffdcb00a792073f6e620dc2c644b3c8fbab528
author Kyungmin Park <kyungmin.park at samsung.com> Fri, 12 May 2006 17:02:24 +0300
committer Jarkko Lavinen <lavinen at pentafluge.infradead.org> Fri, 12 May 2006 15:35:45 +0100

OneNAND: Add touch_softlock_watchdog()

Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>

 drivers/mtd/onenand/onenand_base.c |    1 +
 1 files changed, 1 insertion(+)

diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index a53a73f..d6c13f7 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -301,6 +301,7 @@ static int onenand_wait(struct mtd_info 
 
 		if (state != FL_READING)
 			cond_resched();
+		touch_softlockup_watchdog();
 	}
 	/* To get correct interrupt status in timeout case */
 	interrupt = this->read_word(this->base + ONENAND_REG_INTERRUPT);




More information about the linux-mtd-cvs mailing list