diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2015-01-12 10:55:48 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-17 14:25:19 -0800 |
| commit | 7cbb0ef93a63f7c0574d852607af71f348ccc751 (patch) | |
| tree | f857f06ade0f4e0692cd29e70b45b42eb02f890e /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 2447a27c877a1a4995a85eb4bc456551c0c5a5f9 (diff) | |
staging: comedi: ni_at_a2150: introduce a2150_alloc_irq_dma()
This driver requires an IRQ and DMA in order to support async commands.
For aesthetics, introduce a helper function to request the IRQ and DMA
channels and allocate the DMA buffer. Since the async command support
is optional, make the helper function handle any request/allocation
errors and allow the driver to still attach without async command support.
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
