aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2018-04-12 08:28:33 -0400
committerMauro Carvalho Chehab <[email protected]>2018-04-17 05:50:05 -0400
commitcac61a1acb1def146c3900f1c8f7af4947d98814 (patch)
treee5658832786cc7024d32d7c22f616a5e3a9caecd /tools/perf/scripts/python
parentee2d243d6beea21e79631fa3442e92ad0fa11a6a (diff)
media: mantis: prevent staying forever in a loop at IRQ
As warned by smatch: drivers/media/pci/mantis/mantis_uart.c:105 mantis_uart_work() warn: this loop depends on readl() succeeding If something goes wrong at readl(), the logic will stay there inside an IRQ code forever. This is not the nicest thing to do :-) So, add a timeout there, preventing staying inside the IRQ for more than 10ms. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions