libftdi Archives

Subject: Re: (Corrected)In linusb-1.0, libusb_detach_kernel_driver is available unconditional

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 20 May 2010 06:23:47 +0800
On Thu, May 20, 2010 at 4:10 AM, Uwe Bonnes
<bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>    >> Looks about right. However, I am not so sure if EPERM is now a valid
>    >> return error number in libusb-1.0.
>
>    Xiaofan> I think it is not a valid error return number in libusb-1.0.
>
> The last patch doesn't use the libusb return, but the errno() set by the
> system.

I see. In that case, I think your patch is ok.


-- 
Xiaofan http://mcuee.blogspot.com

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread