diff options
| author | H Hartley Sweeten <[email protected]> | 2014-11-04 10:54:14 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-11-07 09:33:59 -0800 |
| commit | b2cf40a31df207dacc298bc6c559b24e28a896e2 (patch) | |
| tree | 4007760ccc6124cbd7d9ebd0eb5ba910b41c8f60 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | f85c54dbe557257b4c9f1f53f80b555378008f1f (diff) | |
staging: comedi: addi_apci_3120: properly disable interrupts in apci3120_cancel()
The APCI3120_DISABLE_ALL_INTERRUPT define is a mask value used to clear bits
in devpriv->b_ModeSelectRegister to disable the interrupt sources. Writing this
value directly sets unintended bits.
Just set the devpriv->b_ModeSelectRegister to '0' and write that to the register.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions