summaryrefslogtreecommitdiff
path: root/drivers/input/tablet/Makefile
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-12-05 13:43:21 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-06 13:07:15 -0800
commit6cb8e1a27ad7a966ba2cce1b968404b590943105 (patch)
treeafe4336f1224293a4e41acd1b24e73ce3b32f2d1 /drivers/input/tablet/Makefile
parenta1caff6de83acca44faecea14b72724cebb9972e (diff)
staging: comedi: ni_at_2150: tidy up irq/dma request
This driver needs both an irq and dma in order to support async commands. If the irq and dma are not available the driver will still function for single analog input reads. Tidy up the code that does the irq and dma requests so that the driver will still attach if they are not avaliable. The attach will still fail, with -ENOMEM, if the dma buffer cannot be allocated. Remove the noise about the irq and dma during the attach. Only hook up the async commands support if the irq and dma are available. Remove the then unnecessary sanity check in a2150_ai_cmd(). 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 'drivers/input/tablet/Makefile')
0 files changed, 0 insertions, 0 deletions