From: Kyungmin Park Date: Fri, 12 May 2006 14:02:24 +0000 (+0300) Subject: OneNAND: Add touch_softlock_watchdog() X-Git-Tag: v2.6.18-rc1~1105^2~128 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=628bee6593107c466e28462f58c5fd5cd4163c7c;p=linux-2.6 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 a53a73fc2a..d6c13f7ae5 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);