summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/lpc32xx_mlc.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-02-10 19:59:55 +0100
committerBrian Norris <computersforpeace@gmail.com>2015-03-11 23:20:11 +0100
commite35d1d8a1d16e9f56a9b54c96d0cb85ed621bb89 (patch)
tree522c08163cb128d8575d6734c2d7d3ab3fd6bae7 /drivers/mtd/nand/lpc32xx_mlc.c
parentmtd: atmel_nand: check NFC busy flag by HSMC_SR instead of NFC cmd regs (diff)
downloadlinux-e35d1d8a1d16e9f56a9b54c96d0cb85ed621bb89.tar.xz
linux-e35d1d8a1d16e9f56a9b54c96d0cb85ed621bb89.zip
mtd: mxc-nand: Add a timeout when waiting for interrupt
While extending the mxc-nand driver it happend to me a few times that the device was stuck and this made the machine hang during boot. So implement a timeout and print a stack trace the first time this happens to make it debuggable. The return type of the waiting function is also changed to int to be able to handle the timeout in the caller. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/lpc32xx_mlc.c')
0 files changed, 0 insertions, 0 deletions