diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-07-29 17:47:06 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-31 17:44:59 -0700 |
| commit | 1c379e94b38d5e575643212e6890de6a3380e6fe (patch) | |
| tree | 0eac485085c1041508d12263fb2b736abe4a4fbc /include/linux/flex_array.h | |
| parent | 315a276da9952f481edc2396deab455173dbaea8 (diff) | |
staging: comedi: usbduxsigma: init 'pwm_buf_sz' in usbduxsigma_auto_attach()
Initialize this variable with then_ai_urbs and n_ao_urbs in the
attach. Then usbduxsigma_alloc_usb_buffers() can just check the
variable to determine if the urb needs to be allocated.
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 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
