summaryrefslogtreecommitdiff
path: root/drivers/reset/sti
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 15:20:11 -0700
commite35d1d8a1d16e9f56a9b54c96d0cb85ed621bb89 (patch)
tree522c08163cb128d8575d6734c2d7d3ab3fd6bae7 /drivers/reset/sti
parent111573ccd89b67fdef64d945cc0e611df85a6ac8 (diff)
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/reset/sti')
0 files changed, 0 insertions, 0 deletions