diff options
author | Kyungmin Park <kyungmin.park@samsung.com> | 2006-05-12 14:02:24 (GMT) |
---|---|---|
committer | Jarkko Lavinen <lavinen@pentafluge.infradead.org> | 2006-05-12 14:35:45 (GMT) |
commit | 628bee6593107c466e28462f58c5fd5cd4163c7c (patch) | |
tree | 5487fecea1e5220ff7448f68d1b26d375b11f1e8 /drivers/mtd | |
parent | 20ffdcb00a792073f6e620dc2c644b3c8fbab528 (diff) | |
download | linux-fsl-qoriq-628bee6593107c466e28462f58c5fd5cd4163c7c.tar.xz |
OneNAND: Add touch_softlock_watchdog()
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/mtd')
-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 a53a73f..d6c13f7 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); |