All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-usb@vger.kernel.org, linux-omap@vger.kernel.org
Subject: usb: host: ohci-platform: Implement ohci_platform_shutdown
Date: Fri, 22 Mar 2019 12:30:57 -0700	[thread overview]
Message-ID: <20190322193057.GE19425@atomide.com> (raw)

* Alan Stern <stern@rowland.harvard.edu> [190322 18:37]:
> How about putting these runtime PM additions into
> usb_hcd_platform_shutdown instead, so they will apply to all platform
> controller drivers?

OK let's do that then.

> Also, are you certain you want the pm_runtime_put_sync at the end?  If 
> the system is shutting down anyway, why waste time doing an extra 
> runtime suspend?

Well mostly to keep the calls paired. But maybe there are
also kexec reboot cases where we'd want to have things
properly disabled for PM before kexec.

Regards,

Tony

             reply	other threads:[~2019-03-22 19:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-22 19:30 Tony Lindgren [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-03-22 21:01 usb: host: ohci-platform: Implement ohci_platform_shutdown Alan Stern
2019-03-22 20:41 Tony Lindgren
2019-03-22 20:03 Alan Stern
2019-03-22 18:37 Alan Stern
2019-03-22 18:11 Tony Lindgren

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=20190322193057.GE19425@atomide.com \
    --to=tony@atomide.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /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.