Re: [PATCH] dwc3: gadget: Defer starting the gadget device until gadget is power on

From: Baolin Wang
Date: Tue May 17 2016 - 06:47:51 EST


On 17 May 2016 at 17:25, Felipe Balbi <balbi@xxxxxxxxxx> wrote:
>
> Hi,
>
> Baolin Wang <baolin.wang@xxxxxxxxxx> writes:
>>>>>> Make sense.
>>>>>
>>>>> cool, if you wanna work on it, let me know and I can give some details
>>>>> of what I have in mind.
>>>>
>>>> Could you explain details to me, and I wanna continue to optimize the
>>>> power management things. Thanks.
>>>
>>> I have it half-way done. Have a look at my dwc3-fix-suspend branch on
>>> k.org. I haven't sent because I'm not getting a PME event. Can you test
>>> on your end and let me know what happens?
>>
>> OK. I try to test on my platform to see what will happen.
>
> great, thanks. You might need to patch your glue layer with proper
> runtime_* callbacks, btw.

Make sense. Thanks.

>
> --
> balbi



--
Baolin.wang
Best Regards