Skip to content

Commit

Permalink
OneNAND: Add touch_softlock_watchdog()
Browse files Browse the repository at this point in the history
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
  • Loading branch information
Kyungmin Park authored and Jarkko Lavinen committed May 12, 2006
1 parent 20ffdcb commit 628bee6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mtd/onenand/onenand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 628bee6

Please sign in to comment.