]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: usbdux: move firmware request/upload into (*auto_attach)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 20 May 2013 21:30:04 +0000 (14:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 17:59:11 +0000 (10:59 -0700)
commit997beda3daa6fcf1bbc5d6a92b6111c32c881345
tree06d29dfc39310eb7ae7130e22b9ef4fbe080b0e0
parent4bf6bfe3c8ae4d41c2bb3784981ba069c80ef55e
staging: comedi: usbdux: move firmware request/upload into (*auto_attach)

The last step the usb_driver (*probe) does before handing off to the
comedi_driver (*auto_attach) is requesting and uploading the firmware.

Move the request/upload into the (*auto_attach) so we can use the
comedi_load_firmware() helper.

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>
drivers/staging/comedi/drivers/usbdux.c