From: Felipe Balbi <balbi@kernel.org>
To: Baolin Wang <baolin.wang@linaro.org>, gregkh@linuxfoundation.org
Cc: mathias.nyman@intel.com, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org, broonie@kernel.org,
baolin.wang@linaro.org
Subject: Re: [PATCH 2/4] usb: host: xhci: Introduce one new 'usb3_slow_suspend' member for xhci private data
Date: Thu, 18 Aug 2016 10:18:00 +0300 [thread overview]
Message-ID: <87inuy5yvr.fsf@linux.intel.com> (raw)
In-Reply-To: <a1dd24f8779c3f65a07622275abebdf4729ddd56.1468571634.git.baolin.wang@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]
Hi,
Baolin Wang <baolin.wang@linaro.org> writes:
> Now some usb controllers (such as dwc3 controller) need 'XHCI_SLOW_SUSPEND'
> quirk when suspending the xhci, thus we need to add 'usb3_slow_suspend' member
> in xhci platform data to support this.
>
> Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
> ---
> drivers/usb/host/xhci-plat.c | 3 +++
> include/linux/usb/xhci_pdriver.h | 3 +++
> 2 files changed, 6 insertions(+)
>
> diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
> index e2e2487..162f17c 100644
> --- a/drivers/usb/host/xhci-plat.c
> +++ b/drivers/usb/host/xhci-plat.c
> @@ -250,6 +250,9 @@ static int xhci_plat_probe(struct platform_device *pdev)
> (pdata && pdata->usb3_lpm_capable))
> xhci->quirks |= XHCI_LPM_SUPPORT;
>
> + if (pdata && pdata->usb3_slow_suspend)
> + xhci->quirks |= XHCI_SLOW_SUSPEND;
I remember having a discussion about this with Paul Z and it turned out
that we really didn't need SLOW_SUSPEND. Can you describe further in
what situation you need this quirk?
--
balbi
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 800 bytes --]
next prev parent reply other threads:[~2016-08-18 7:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-15 9:13 [PATCH 0/4] Support dwc3 host suspend/resume Baolin Wang
2016-07-15 9:13 ` [PATCH 1/4] usb: host: xhci: Move the xhci quirks checking to the right place Baolin Wang
2016-08-18 7:17 ` Felipe Balbi
2016-08-30 12:04 ` Baolin Wang
2016-07-15 9:13 ` [PATCH 2/4] usb: host: xhci: Introduce one new 'usb3_slow_suspend' member for xhci private data Baolin Wang
2016-08-18 7:18 ` Felipe Balbi [this message]
2016-08-18 8:54 ` Baolin Wang
2016-08-18 12:25 ` Felipe Balbi
2016-08-18 12:47 ` Baolin Wang
2016-08-18 13:42 ` Felipe Balbi
2016-08-19 7:52 ` Baolin Wang
2016-07-15 9:13 ` [PATCH 3/4] usb: dwc3: core: Move the mode setting to the right place Baolin Wang
2016-07-15 9:13 ` [PATCH 4/4] usb: dwc3: core: Support the dwc3 host suspend/resume Baolin Wang
2016-07-15 16:17 ` kbuild test robot
2016-07-15 18:25 ` kbuild test robot
2016-08-18 7:33 ` Felipe Balbi
2016-08-18 8:59 ` Baolin Wang
2016-08-18 12:25 ` Felipe Balbi
2016-08-18 12:52 ` Baolin Wang
2016-08-18 13:42 ` Felipe Balbi
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=87inuy5yvr.fsf@linux.intel.com \
--to=balbi@kernel.org \
--cc=baolin.wang@linaro.org \
--cc=broonie@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.