diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-11-26 16:41:59 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-03 09:20:21 -0800 |
| commit | 06551fda7e0f07250884c0cf47d1286da0a5651c (patch) | |
| tree | a570007ef70aa5065637836bd0cf33f1d302b847 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 5b7b0eb2b208d3ecdaf946876f6c0f9cf292ddf2 (diff) | |
staging: comedi: dt282x: tidy up the irq support in dt282x_attach()
An irq is only needed by this driver in order to support async commands.
Since it is optional, modify the attach so that if the request_irq() fails
the attach does not fail.
Remove the printk noise about the irq.
Only hookup the async command support if the request_irq() was successful.
Also, only call dt282x_grab_dma() if we have an irq since interrupt support
is needed to support dma.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
