aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2012-12-03 18:15:40 +0000
committerGreg Kroah-Hartman <[email protected]>2013-01-07 14:10:01 -0800
commit0774c2b5c1e0025cb016393d8552171c0ec55c39 (patch)
tree040be88b5ec40da187006dac55fbf2704bda3c76 /tools/perf/scripts/python
parentd9f5420268ca9b2bbe62f14757fac3e10eaf1ebf (diff)
staging: comedi: addi_apci_2032: interrupt safety change
Put the hardware into a safe state before enabling the interrupt. In the interrupt routine, check the device has been fully configured by checking `dev->attached`. In particular, `dev->read_subdev` could be NULL early on and although the hardware's status register should indicate no interrupt has occurred (since it's been put into a safe state), it's better not to rely on it. Signed-off-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions