OneNAND: Add touch_softlock_watchdog()
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
This commit is contained in:
Родитель
20ffdcb00a
Коммит
628bee6593
|
@ -301,6 +301,7 @@ static int onenand_wait(struct mtd_info *mtd, int state)
|
||||||
|
|
||||||
if (state != FL_READING)
|
if (state != FL_READING)
|
||||||
cond_resched();
|
cond_resched();
|
||||||
|
touch_softlockup_watchdog();
|
||||||
}
|
}
|
||||||
/* To get correct interrupt status in timeout case */
|
/* To get correct interrupt status in timeout case */
|
||||||
interrupt = this->read_word(this->base + ONENAND_REG_INTERRUPT);
|
interrupt = this->read_word(this->base + ONENAND_REG_INTERRUPT);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче