dect
/
linux-2.6
Archived
13
0
Fork 0

OneNAND: Add touch_softlock_watchdog()

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
This commit is contained in:
Kyungmin Park 2006-05-12 17:02:24 +03:00 committed by Jarkko Lavinen
parent 20ffdcb00a
commit 628bee6593
1 changed files with 1 additions and 0 deletions

View 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);