Linux USB
 help / color / mirror / Atom feed
From: Andreas Kemnade <andreas@kemnade.info>
To: Roger Quadros <rogerq@ti.com>
Cc: Alan Stern <stern@rowland.harvard.edu>,
	gregkh@linuxfoundation.org, linux-usb@vger.kernel.org,
	linux-omap@vger.kernel.org,
	Discussions about the Letux Kernel <letux-kernel@openphoenux.org>
Subject: [RFC] ehci-omap: simple suspend implementation
Date: Tue, 20 Feb 2018 18:05:17 +0100	[thread overview]
Message-ID: <20180220180517.1e50f638@aktux> (raw)

On Mon, 19 Feb 2018 11:41:36 +0200
Roger Quadros <rogerq@ti.com> wrote:

[...]
> If the Hardware SAR (Save and restore) functionality is enabled then
> everything will be restored by hardware after a sleep to wake transition.
> 
> But you will need this patch to enable SAR for the USB power domain.
> https://lkml.org/lkml/2013/7/10/356
> 
> Missing this might be the reason why things break for you after a system
> suspend/resume.
> 
ehci_resume() has a force reset flag which should be enough to bring
the system to a known state. But I tried SAR. It did not help.

rmmod ehci_omap
modprobe ehci_omap
is enough to make the device disappear (with and without the patch).
rebooting is enough to make the device
appear again. That did once work, so I'll first check when did that
broke.

Regards,
Andreas

             reply	other threads:[~2018-02-20 17:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-20 17:05 Andreas Kemnade [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-02-26  9:14 [RFC] ehci-omap: simple suspend implementation Roger Quadros
2018-02-26  7:04 Andreas Kemnade
2018-02-19  9:41 Roger Quadros
2018-02-16 19:31 Alan Stern
2018-02-16 18:35 Andreas Kemnade
2018-02-16 18:13 Alan Stern
2018-02-16 17:14 Andreas Kemnade

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=20180220180517.1e50f638@aktux \
    --to=andreas@kemnade.info \
    --cc=gregkh@linuxfoundation.org \
    --cc=letux-kernel@openphoenux.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=rogerq@ti.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox