Re: [PATCH] HID: usbhid: get/put around clearing needs_remote_wakeup

From: Benson Leung
Date: Thu Nov 13 2014 - 16:41:24 EST


On Thu, Nov 13, 2014 at 1:18 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> If you interchange the two lines then the flag _will_ be cleared before
> usb_kill_urb() and autosuspend_check() can run. This means your patch
> description is bogus.

Gotcha. v2 posted. Thanks for the direction.

--
Benson Leung
Software Engineer, Chrom* OS
bleung@xxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/