diff options
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); |