dect
/
linux-2.6
Archived
13
0
Fork 0

Staging: comedi: usbduxfast bugfix

Fixed bug in firmware loading with multiple usbduxfast boards.

From: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: David Schleef <ds@schleef.org>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Frank Mori Hess 2008-12-06 15:43:23 +00:00 committed by Greg Kroah-Hartman
parent 51e290fde8
commit 3cd74e8693
1 changed files with 1 additions and 1 deletions

View File

@ -1715,7 +1715,7 @@ static int usbduxfast_attach(comedi_device *dev, comedi_devconfig *it)
/* trying to upload the firmware into the chip */
if (comedi_aux_data(it->options, 0) &&
it->options[COMEDI_DEVCONF_AUX_DATA_LENGTH]) {
read_firmware(usbduxfastsub,
read_firmware(&usbduxfastsub[index],
comedi_aux_data(it->options, 0),
it->options[COMEDI_DEVCONF_AUX_DATA_LENGTH]);
}