commit | 8429504a575ded74c6267361592879cedfb7b860 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Mar 04 11:29:35 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 06 17:06:11 2014 -0800 |
tree | 6780605815ed9b3007100bd842d88ae8a509c9e4 | |
parent | 885a7da351d04e8f62d201e094fc1c287ed5360b [diff] |
staging: comedi: pcl816: only hook up async command support if DMA is available This driver only supports async commands if a DMA channel is available. Modify the subdevice init so that the command support only gets hooked up if we can do 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>