On Mon, Jul 20, 2015 at 2:53 PM, Felipe Balbi <balbi@xxxxxx> wrote: > On Mon, Jul 20, 2015 at 02:39:58PM -0500, Bin Liu wrote: >> On Mon, Jul 20, 2015 at 2:10 PM, Felipe Balbi <balbi@xxxxxx> wrote: >> > On Mon, Jul 20, 2015 at 02:02:30PM -0500, Bin Liu wrote: >> >> Hi, >> >> >> >> I was trying to understand how remote wakeup works in the gadget framework. >> >> >> >> It seems most UDC drivers define .wakeup() call, which is invoked by >> >> usb_gadget_wakeup() wrapper. But none of the gadget drivers (except >> >> g_zero) calls it. Does it mean the gadget framework does not support >> >> remote wakeup or there is something I missed? >> >> >> >> By the way, I also found [1] which mentions remote wakeup is not >> >> support in gadget, except g_zero. >> > >> > yeah, it needs to be added on a per-gadget basis. >> >> So there is nothing preventing to add the feature, it was not in there >> (yet) only because no one really wanted it, right? > > s/wanted/implemented :-) > > I'm sure many would want it, just nobody has sat down to write it. Ok, understood the situation now. Thanks. > > -- > balbi -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html