aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorLothar Waßmann <[email protected]>2013-08-13 16:00:56 -0700
committerLinus Torvalds <[email protected]>2013-08-13 17:57:48 -0700
commit28a0c88312973792f439493d801ceac61baae9b3 (patch)
tree64cf598f048c5db0c9cfc9d6c453946fee19cd0b /tools/perf/scripts/python/net_dropmonitor.py
parentb610ded71918654748b6b49f1e2636dc6bbfc96e (diff)
drivers/rtc/rtc-stmp3xxx.c: provide timeout for potentially endless loop polling a HW bit
It's always a bad idea to poll on HW bits without a timeout. The i.MX28 RTC can be easily brought into a state in which the RTC is not running (until after a power-on-reset) and thus the status bits which are polled in the driver won't ever change. This patch prevents the kernel from getting stuck in this case. Signed-off-by: Lothar Waßmann <[email protected]> Acked-by: Wolfram Sang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions