diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2014-07-28 13:09:30 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-30 16:48:42 -0700 |
| commit | e7637a912911ae4346e19e954d9481f7a5b0e48b (patch) | |
| tree | a34d220b7c9275a5e823facb25cb6e7f120d80df /tools/perf/scripts/python/bin | |
| parent | 6f929b4e5a022c3ca806c1675ccb833c42086853 (diff) | |
staging: comedi: amplc_pc236: don't disable h/w interrupt on detach()
If an asynchronous command was running when the device is being
detached, the comedi core would have called the subdevice `cancel`
handler (`pc236_intr_cancel()`) before calling the `detach` handler
(`pc236_detach()`). Since the cancel handler disables hardware
interrupts (at least for the PCI236 board) by calling
`pc236_disable_intr()`, there is no need for the detach handler to do so
as well. Remove the call to `pc236_disable_intr()` from
`pc236_detach()`.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
