linux/drivers/staging/comedi
Ian Abbott d5733baf23 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>
2014-09-19 15:36:24 -07:00
..
drivers staging: comedi: adl_pci9118: don't allocate 2nd DMA buffer on failure 2014-09-19 15:36:24 -07:00
kcomedilib
comedi_buf.c staging: comedi: pass subdevice to comedi_buf_write_n_available() 2014-05-23 21:25:50 +09:00
comedi_compat32.c staging: comedi: comedi_compat32: checkpatch.pl --strict cleanup 2014-07-18 16:10:39 -07:00
comedi_compat32.h staging: comedi: comedi_compat32.h: checkpatch.pl --strict cleanup 2014-07-18 16:10:40 -07:00
comedi_fops.c staging: comedi: use CMDF_BOGUS in do_cmd_ioctl() 2014-09-08 13:50:14 -07:00
comedi_internal.h staging: comedi: comedi_internal.h: checkpatch.pl --strict cleanup 2014-07-18 16:10:39 -07:00
comedi_pci.c staging: comedi: comedi_pci: introduce comedi_pci_detach() 2014-08-30 13:24:54 -07:00
comedi_pcmcia.c
comedi_usb.c
comedi.h staging: comedi: add CMDF_ROUND_... as synonyms for TRIG_ROUND_... 2014-09-08 13:50:14 -07:00
comedidev.h staging: comedi: comedi_pci: introduce comedi_pci_detach() 2014-08-30 13:24:54 -07:00
comedilib.h
drivers.c staging: comedi: add a 'readback' member to comedi_subdevice 2014-08-30 13:22:29 -07:00
Kconfig staging: comedi: skel: remove driver 2014-09-08 13:44:22 -07:00
Makefile
proc.c
range.c
TODO staging: comedi: TODO: remove item "reserve major number" 2014-05-28 14:18:11 -07:00