From: rtatiya@codeaurora.org To: sarah.a.sharp@linux.intel.com, linux-usb@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Rupesh Tatiya <rtatiya@codeaurora.org> Subject: [PATCH] usb: Enable LPM for USB 2.01+ full-speed devices Date: Wed, 25 Mar 2015 12:23:19 +0530 [thread overview] Message-ID: <1427266399-19124-1-git-send-email-rtatiya@codeaurora.org> (raw) From: Rupesh Tatiya <rtatiya@codeaurora.org> USB 2.01+ full-speed devices can have extended descriptor as well and can support LPM. Change-Id: Ic055d51c02651810d3eb7141bab20a090fe8453b Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org> --- drivers/usb/core/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 9ef2d2c..1ed7b5d 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -140,7 +140,7 @@ static int usb_device_supports_lpm(struct usb_device *udev) /* USB 2.1 (and greater) devices indicate LPM support through * their USB 2.0 Extended Capabilities BOS descriptor. */ - if (udev->speed == USB_SPEED_HIGH) { + if (udev->speed == USB_SPEED_HIGH || udev->speed == USB_SPEED_FULL) { if (udev->bos->ext_cap && (USB_LPM_SUPPORT & le32_to_cpu(udev->bos->ext_cap->bmAttributes))) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
next reply other threads:[~2015-03-25 6:53 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-03-25 6:53 rtatiya [this message] 2015-03-25 6:58 ` Greg KH [not found] ` <20150325065824.GA25520-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> 2015-04-08 11:27 ` rtatiya-sgV2jX0FEOL9JmXXK+q4OQ 2015-04-08 11:27 ` rtatiya 2015-04-08 11:37 ` Greg KH [not found] ` <6101704ff4dc2e95b67146ed26d01c9f.squirrel-mMfbam+mt9083fI46fginR2eb7JE58TQ@public.gmane.org> 2015-04-08 13:24 ` gpramod-sgV2jX0FEOL9JmXXK+q4OQ 2015-04-08 13:24 ` gpramod 2015-04-14 11:06 ` [PATCH v2] " Rupesh Tatiya [not found] ` <1427266399-19124-1-git-send-email-rtatiya-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> 2015-03-25 8:41 ` [PATCH] " Oliver Neukum 2015-03-25 8:41 ` Oliver Neukum 2015-04-08 11:24 ` rtatiya
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1427266399-19124-1-git-send-email-rtatiya@codeaurora.org \ --to=rtatiya@codeaurora.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-usb@vger.kernel.org \ --cc=sarah.a.sharp@linux.intel.com \ --subject='Re: [PATCH] usb: Enable LPM for USB 2.01+ full-speed devices' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.