[PATCH] staging: comedi: drivers: fix return value of comedi_load_firmware()

Ian Abbott abbotti at mev.co.uk
Wed Dec 11 10:12:23 UTC 2013


On 2013-12-10 23:31, H Hartley Sweeten wrote:
> 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.
>

Acked-by: Ian Abbott <abbotti at mev.co.uk>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-


More information about the devel mailing list