commit | f95321f33af8b75cce171ba18e5fa04ed1fcb88f | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Dec 03 12:07:10 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 04 15:25:30 2013 -0800 |
tree | 80b5e7df0940c09df5f6a8785120abd40d51258a | |
parent | 4eb946285aa07669568af3e0a19f694409ccc0d4 [diff] |
staging: comedi: s626: fix async command hookup Only set the SDF_CMD_READ subdev_flag if the irq was sucessfully requested. Remove the unnecessary sanity check of dev->irq in s626_ai_cmd(). This callback is only hooked up if the irq is available. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>