commit | 6e89008b06c344b49e27febdeb5fc7b84d35fb25 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Jan 12 10:55:43 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jan 17 14:25:19 2015 -0800 |
tree | 9cb2e7fb456354a90f9ee1e944bc8dbfda56f773 | |
parent | fd8aab1a9c4505dc410f189c81911f8d6a99c6fc [diff] |
staging: comedi: das1800: tidy up das1800_init_dma() Refactor this function so that a for loop can be used to request and set up the two DMA descriptors. 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>