* [11/11] usb: dwc2: Enable LPM
@ 2018-01-24 13:44 Grigor Tovmasyan
0 siblings, 0 replies; 4+ messages in thread
From: Grigor Tovmasyan @ 2018-01-24 13:44 UTC (permalink / raw)
To: John Youn, Felipe Balbi, Greg Kroah-Hartman, linux-usb; +Cc: Grigor Tovmasyan
From: John Youn <johnyoun@synopsys.com>
Set 'lpm_capable' flag in the gadget structure so
indicating that LPM is supported.
Signed-off-by: Sevak Arakelyan <sevaka@synopsys.com>
Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
---
drivers/usb/dwc2/gadget.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
index 223a0a10de0d..d017400caa6f 100644
--- a/drivers/usb/dwc2/gadget.c
+++ b/drivers/usb/dwc2/gadget.c
@@ -4662,6 +4662,10 @@ int dwc2_gadget_init(struct dwc2_hsotg *hsotg)
hsotg->gadget.max_speed = USB_SPEED_HIGH;
hsotg->gadget.ops = &dwc2_hsotg_gadget_ops;
hsotg->gadget.name = dev_name(dev);
+
+ if (hsotg->params.lpm)
+ hsotg->gadget.lpm_capable = true;
+
if (hsotg->dr_mode == USB_DR_MODE_OTG)
hsotg->gadget.is_otg = 1;
else if (hsotg->dr_mode == USB_DR_MODE_PERIPHERAL)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [11/11] usb: dwc2: Enable LPM
@ 2018-03-09 8:06 Felipe Balbi
0 siblings, 0 replies; 4+ messages in thread
From: Felipe Balbi @ 2018-03-09 8:06 UTC (permalink / raw)
To: Grigor Tovmasyan, John Youn, Greg Kroah-Hartman, linux-usb
Hi,
Grigor Tovmasyan <Grigor.Tovmasyan@synopsys.com> writes:
> From: John Youn <johnyoun@synopsys.com>
>
> Set 'lpm_capable' flag in the gadget structure so
> indicating that LPM is supported.
>
> Signed-off-by: Sevak Arakelyan <sevaka@synopsys.com>
> Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
Missing John's Signed-off-by. What gives? I'll drop this from my queue
for now.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [11/11] usb: dwc2: Enable LPM
@ 2018-03-09 13:05 Grigor Tovmasyan
0 siblings, 0 replies; 4+ messages in thread
From: Grigor Tovmasyan @ 2018-03-09 13:05 UTC (permalink / raw)
To: Felipe Balbi, Grigor Tovmasyan, John Youn, Greg Kroah-Hartman,
linux-usb@vger.kernel.org
Hi John,
Could you please add your Signed-off to this patch?
On 3/9/2018 12:06 PM, Felipe Balbi wrote:
> Hi,
>
> Grigor Tovmasyan <Grigor.Tovmasyan@synopsys.com> writes:
>> From: John Youn <johnyoun@synopsys.com>
>>
>> Set 'lpm_capable' flag in the gadget structure so
>> indicating that LPM is supported.
>>
>> Signed-off-by: Sevak Arakelyan <sevaka@synopsys.com>
>> Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
> Missing John's Signed-off-by. What gives? I'll drop this from my queue
> for now.
>
Thanks, Grigor.
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* [11/11] usb: dwc2: Enable LPM
@ 2018-03-12 16:38 John Youn
0 siblings, 0 replies; 4+ messages in thread
From: John Youn @ 2018-03-12 16:38 UTC (permalink / raw)
To: Felipe Balbi, Grigor Tovmasyan, John Youn, Greg Kroah-Hartman,
linux-usb
On 03/09/2018 12:06 AM, Felipe Balbi wrote:
>
> Hi,
>
> Grigor Tovmasyan <Grigor.Tovmasyan@synopsys.com> writes:
>> From: John Youn <johnyoun@synopsys.com>
>>
>> Set 'lpm_capable' flag in the gadget structure so
>> indicating that LPM is supported.
>>
>> Signed-off-by: Sevak Arakelyan <sevaka@synopsys.com>
>> Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
>
> Missing John's Signed-off-by. What gives? I'll drop this from my queue
> for now.
>
Sorry, it must have gotten dropped somehow.
Do you need me to resend?
If not please add:
Signed-off-by: John Youn <johnyoun@synopsys.com>
John
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-03-12 16:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-09 8:06 [11/11] usb: dwc2: Enable LPM Felipe Balbi
-- strict thread matches above, loose matches on Subject: below --
2018-03-12 16:38 John Youn
2018-03-09 13:05 Grigor Tovmasyan
2018-01-24 13:44 Grigor Tovmasyan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).