Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1468658
| From | Alan Stern <stern@rowland.harvard.edu> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v7] usb: ohci-at91: Forcibly suspend ports while USB suspend |
| Date | 2016-08-23 17:50 +0200 |
| Message-ID | <s9m7D-5U4-3@gated-at.bofh.it> (permalink) |
| References | <s98o1-5uy-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 23 Aug 2016, Wenyou Yang wrote: > The usb controller does not manage correctly the suspend mode for > the ehci. In echi mode, there is no way to suspend without any > device connected to it. This is why this specific control is added > to fix this issue. Since the suspend mode works in ohci mode, this > specific control works by suspend the usb controller in ohci mode. > > This specific control is by setting the SUSPEND_A/B/C fields of > SFR_OHCIICR(OHCI Interrupt Configuration Register) in the SFR > while the OHCI USB suspend. > > This set operation must be done before the USB clock disabled, > clear operation after the USB clock enabled. > > Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> > Reviewed-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> > Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> > --- > > Changes in v7: > - Rename ohci_at91_port_ctrl() to ohci_at91_port_suspend(). > - Add check valid_port(wIndex) before invoke > ohci_at91_port_suspend(). > - Call ohci_at91_port_suspend() directly on suspend/resume > operations. Acked-by: Alan Stern <stern@rowland.harvard.edu>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v7] usb: ohci-at91: Forcibly suspend ports while USB suspend Wenyou Yang <wenyou.yang@atmel.com> - 2016-08-23 03:10 +0200 Re: [PATCH v7] usb: ohci-at91: Forcibly suspend ports while USB suspend Alan Stern <stern@rowland.harvard.edu> - 2016-08-23 17:50 +0200
csiph-web