commit | ef1e3c4a3b383c6da3979670fcb5c6e9c7de4741 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Jul 29 17:46:27 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 31 17:44:58 2013 -0700 |
tree | b979071f4cd8489795cc3367112eb9ed7e3f3567 | |
parent | aa25b91304bbca0c79c6b1d736236cd2f817ca03 [diff] |
staging: comedi: usbdux: tidy up usbdux_alloc_usb_buffers() Tidy up the error path by doing all the basic allocations then checking for failures. We have the comedi device now so fill in the urb->context. 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>