From: Kyungmin Park Date: Fri, 12 May 2006 14:02:24 +0000 (+0300) Subject: OneNAND: Add touch_softlock_watchdog() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=628bee6593107c466e28462f58c5fd5cd4163c7c;p=openwrt%2Fstaging%2Fblogic.git OneNAND: Add touch_softlock_watchdog() Signed-off-by: Kyungmin Park --- diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c index a53a73fc2a5a..d6c13f7ae5a1 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 *mtd, int state) 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);