diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2014-09-12 10:04:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-19 15:36:24 -0700 |
commit | d5733baf238533e9df41d92948e1ace5e0eae1de (patch) | |
tree | ea1fad901c07cd3e2cd8ffcff65b3b4a27bb413e /REPORTING-BUGS | |
parent | 27f5a85fb535296ebaa8334627774f0201df8a11 (diff) |
staging: comedi: adl_pci9118: don't allocate 2nd DMA buffer on failure
`pci9118_alloc_dma()` tries to allocate two DMA buffers but may allocate
a single buffer or none at all. If it fails to allocate the first
buffer, it still tries to allocate the second buffer, even though it
won't be used. Change it to not bother trying to allocate the second
buffer if the first one fails.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions