[PATCH v4] usb: ohci-at91: Forcibly suspend ports while USB suspend

Alexandre Belloni alexandre.belloni at free-electrons.com
Tue Jun 21 08:30:41 PDT 2016


On 21/06/2016 at 09:32:44 +0800, Wenyou Yang wrote :
> In order to save power consumption, as a workaround, forcibly suspend
> the USB PORTA/B/C via setting the SUSPEND_A/B/C bits of OHCI Interrupt
> Configuration Register in the SFR while OHCI USB suspend.
> 
> This suspend operation must be done before the USB clock is disabled,
> resume after the USB clock is enabled.
> 
> Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list