On Sun, 2016-12-04 at 13:10 +0800, Pan Bian wrote: > From: Pan Bian <bianpan2016@163.com> > > Function hid_post_reset() returns 0 on success, or 1 on failures.
It seems like hid_post_reset() is buggy in not returning a proper error code in the failure case. So your diagnosis is right, but the fix is at the wrong place.