[PATCH] USB: host: ehci_atmel: Add suspend/resume support

Alexandre Belloni alexandre.belloni at free-electrons.com
Fri Jan 16 17:34:42 PST 2015


Hi,

You should probably put the susbsytem maintainers in copy too. As
reported by get_maintainer.pl:
Alan Stern <stern at rowland.harvard.edu> (maintainer:USB EHCI DRIVER)
Greg Kroah-Hartman <gregkh at linuxfoundation.org> (supporter:USB SUBSYSTEM)

They will be the one taking the patch.

And when dealing with PM on AT91, please copy
Wenyou Yang <wenyou.yang at atmel.com>


On 16/01/2015 at 20:41:14 +0100, Sylvain Rochet wrote :
> This patch add suspend/resume support for Atmel EHCI, mostly
> about disabling and unpreparing clocks so USB PLL is stopped
> before entering sleep state.
> 
> Signed-off-by: Sylvain Rochet <sylvain.rochet at finsecur.com>

Acked-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>

> +
> +	if (at91_suspend_entering_slow_clock())
> +		atmel_stop_clock();
> +

We should definitely find a way to get rid of
at91_suspend_entering_slow_clock() at some point in time.


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



More information about the linux-arm-kernel mailing list