linux/drivers/staging/comedi
Ian Abbott e9166139f6 staging: comedi: complain if dma buffer allocation not supported
When allocating a buffer to support asynchronous comedi commands, if a
DMA coherent buffer was requested but `CONFIG_HAS_DMA` is undefined,
bail out of local helper function `__comedi_buf_alloc()` with an error
message.

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>
2013-05-13 17:38:48 -04:00
..
drivers staging: comedi: ni_mio_common: only do counter commands for ni_pcimio 2013-05-13 17:38:47 -04:00
kcomedilib
comedi_buf.c staging: comedi: complain if dma buffer allocation not supported 2013-05-13 17:38:48 -04:00
comedi_compat32.c
comedi_compat32.h
comedi_fops.c staging: comedi: allow buffer resize if previous resize failed 2013-05-13 17:37:04 -04:00
comedi_internal.h
comedi_pci.c
comedi_pcmcia.c
comedi_usb.c
comedi.h
comedidev.h
comedilib.h
drivers.c
Kconfig staging: comedi: work without HAS_DMA 2013-05-13 17:38:46 -04:00
Makefile
proc.c
range.c
TODO