On Tue, 2016-07-26 at 10:59 +0000, Sheng Li (李盛) wrote:
>  it is about an usb error handling in function "hid_io_error":
> 
> the comments shows
> 
> /* Retries failed, so do a port reset unless we lack bandwidth*/
> 
> but actually the code do the opposite
> 
> 
> Signed-off-by:Sheng Li   <lish...@le.com>


Hi,

the bug you found was fixed with:

commit 3af4e5a95184d6d3c1c6a065f163faa174a96a1d
Author: Don Zickus <dzic...@redhat.com>
Date:   Mon Aug 10 12:06:53 2015 -0400

    HID: usbhid: Fix the check for HID_RESET_PENDING in hid_io_error

What kernel release are you looking at? The fix should have gone into
the stable trees.

        Regards
                Oliver


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to