mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
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 <[email protected]> Signed-off-by: H Hartley Sweeten <[email protected]> Acked-by: Ian Abbott <[email protected]> Acked-by: Dan Carpenter <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>