Re: [PATCH 2/5] usb: gadget: Add function wakeup support
From: Thinh Nguyen
Date: Thu Aug 11 2022 - 22:07:29 EST
On 8/11/2022, Elson Serrao wrote:
>
>>
>> 3) If the link transitions to U0 after the device triggering a remote
>> wakeup, the device will also send device notification function wake for
>> all the interfaces armed with remote wakeup.
>>
>
> I am not clear on why device notification function wake should be sent
> for ALL interfaces armed with remote wakeup. Since function
> suspend/wakeup of an interface is independent of other functions in a
> composite device only the interface in which a remote wakeup event
> occurred should send the wake notification right? The other functions
> will continue to remain
> in function suspend state.
>
hm... I think you're right here. I think I misread the spec.
We only need to send device notification of the function that triggers
remote wake.
You can ignore the comments related to this. Sorry for the confusion.
However, the other points still stand.
Thanks,
Thinh