mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
OneNAND: Add touch_softlock_watchdog()
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
This commit is contained in:
parent
20ffdcb00a
commit
628bee6593
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue