OneNAND: Add touch_softlock_watchdog()
authorKyungmin Park <kyungmin.park@samsung.com>
Fri, 12 May 2006 14:02:24 +0000 (17:02 +0300)
committerJarkko Lavinen <lavinen@pentafluge.infradead.org>
Fri, 12 May 2006 14:35:45 +0000 (15:35 +0100)
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/mtd/onenand/onenand_base.c

index a53a73fc2a5af0d0a07a8f880793e2b8c37c4489..d6c13f7ae5a1f82d23b80c6e6e634e440755b741 100644 (file)
@@ -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);