linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Surong Pang <surong.pang@gmail.com>
Cc: mathias.nyman@intel.com, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH V1 1/1] usb/host: To get "usb3-slow-suspend" property, then to set xhci quirks
Date: Thu, 21 Apr 2022 18:41:29 +0200	[thread overview]
Message-ID: <YmGJOYDdn1T9+lPy@kroah.com> (raw)
In-Reply-To: <20220412025952.21062-1-surong.pang@gmail.com>

On Tue, Apr 12, 2022 at 10:59:52AM +0800, Surong Pang wrote:
> From: Surong Pang <surong.pang@unisoc.com>
> 
> To set xhci->quirks value according to "usb3-slow-suspend" property
> 
> Signed-off-by: Surong Pang <surong.pang@unisoc.com>
> ---
>  drivers/usb/host/xhci-plat.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
> index 649ffd861b44..6bc456bc6468 100644
> --- a/drivers/usb/host/xhci-plat.c
> +++ b/drivers/usb/host/xhci-plat.c
> @@ -302,6 +302,9 @@ static int xhci_plat_probe(struct platform_device *pdev)
>  		if (device_property_read_bool(tmpdev, "usb3-lpm-capable"))
>  			xhci->quirks |= XHCI_LPM_SUPPORT;
>  
> +		if (device_property_read_bool(tmpdev, "usb3-slow-suspend"))
> +			xhci->quirks |= XHCI_SLOW_SUSPEND;

Device properties need to be documented somewhere.


  parent reply	other threads:[~2022-04-21 16:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-12  2:59 [PATCH V1 1/1] usb/host: To get "usb3-slow-suspend" property, then to set xhci quirks Surong Pang
2022-04-12  5:14 ` Greg KH
2022-04-21 16:41 ` Greg KH [this message]
2022-04-22  2:40   ` surong pang

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=YmGJOYDdn1T9+lPy@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@intel.com \
    --cc=surong.pang@gmail.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 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).