diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2006-05-12 10:02:24 -0400 |
---|---|---|
committer | Jarkko Lavinen <lavinen@pentafluge.infradead.org> | 2006-05-12 10:35:45 -0400 |
commit | 628bee6593107c466e28462f58c5fd5cd4163c7c (patch) | |
tree | 5487fecea1e5220ff7448f68d1b26d375b11f1e8 /drivers/mtd/onenand | |
parent | 20ffdcb00a792073f6e620dc2c644b3c8fbab528 (diff) |
OneNAND: Add touch_softlock_watchdog()
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r-- | drivers/mtd/onenand/onenand_base.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
301 | 301 | ||
302 | if (state != FL_READING) | 302 | if (state != FL_READING) |
303 | cond_resched(); | 303 | cond_resched(); |
304 | touch_softlockup_watchdog(); | ||
304 | } | 305 | } |
305 | /* To get correct interrupt status in timeout case */ | 306 | /* To get correct interrupt status in timeout case */ |
306 | interrupt = this->read_word(this->base + ONENAND_REG_INTERRUPT); | 307 | interrupt = this->read_word(this->base + ONENAND_REG_INTERRUPT); |