linux/drivers/staging/comedi
H Hartley Sweeten c6236c0ce3 staging: comedi: drivers: fix return value of comedi_load_firmware()
Some of the callback functions that upload the firmware in the comedi
drivers return a positive value indicating the number of bytes sent
to the device. Detect this condition and just return '0' to indicate
a successful upload.

Reported-by: Bernd Porr <mail@berndporr.me.uk>
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Ian Abbott <abbotti@mev.co.uk>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-12-17 13:05:53 -08:00
..
drivers staging: comedi: 8255_pci: fix for newer PCI-DIO48H 2013-12-17 13:05:53 -08:00
kcomedilib
comedi_buf.c
comedi_compat32.c file->f_op is never NULL... 2013-10-24 23:34:54 -04:00
comedi_compat32.h
comedi_fops.c staging: comedi: use memdup_user to simplify code 2013-10-29 08:40:53 -07:00
comedi_internal.h
comedi_pci.c
comedi_pcmcia.c
comedi_usb.c
comedi.h
comedidev.h
comedilib.h
drivers.c staging: comedi: drivers: fix return value of comedi_load_firmware() 2013-12-17 13:05:53 -08:00
Kconfig
Makefile
proc.c
range.c
TODO