aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2015-02-10 19:59:55 +0100
committerBrian Norris <[email protected]>2015-03-11 15:20:11 -0700
commite35d1d8a1d16e9f56a9b54c96d0cb85ed621bb89 (patch)
tree522c08163cb128d8575d6734c2d7d3ab3fd6bae7 /scripts/gdb/linux/modules.py
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 <[email protected]> Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions