Hello Felipe,
On Tue, Mar 10, 2015 at 04:12:14PM -0500, Felipe Balbi wrote:
> Hi,
>
> (dropping patch, my only context is subject line)
>
> "USB: gadget: atmel_usba_udc: Request an auto disabled Vbus signal IRQ
> instead of an auto enabled IRQ request followed by IRQ disable"
>
> Holy crap, tha
Hello Boris,
On Sun, Feb 08, 2015 at 10:24:39AM +0100, Boris Brezillon wrote:
> On Sat, 7 Feb 2015 20:37:23 +0100
> Sylvain Rochet wrote:
>
> > If not, is udc->caps->irq_single_edge_support boolean acceptable ?
>
> Do you mean keeping the current approach ?
Yes!
s and probably harmful IRQF_NO_SUSPEND from
devm_request_threaded_irq() flags
Changes since v1:
* Using a threaded irq and mutex instead of spinclock as suggested
* Moved a silently fixed bug in a separate patch (1/2)
Sylvain Rochet (4):
USB: gadget: atmel_usba_udc: Fixed vbus_prev initi
stays continuously clocked.
Signed-off-by: Sylvain Rochet
Acked-by: Nicolas Ferre
Acked-by: Boris Brezillon
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 144 +---
drivers/usb/gadget/udc/atmel_usba_udc.h | 4 +
2 files changed, 100 insertions(+), 48 deletions(-)
diff
If vbus gpio is high at init, we should set vbus_prev to true
accordingly to the current vbus state. Without that, we skip the first
vbus interrupt because the saved vbus state is not consistent.
Signed-off-by: Sylvain Rochet
Acked-by: Nicolas Ferre
Acked-by: Boris Brezillon
---
drivers/usb
clocks and USBA if we stopped them. If a device is
currently connected at resume time we enable the controller.
Signed-off-by: Sylvain Rochet
Acked-by: Boris Brezillon
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 57 +
1 file changed, 57 insertions(+)
diff --git a
al IRQ instead
of an auto enabled IRQ followed by disable_irq(). This way we remove the
very small timeslot of enabled IRQ which existed previously between
request() and disable(). We don't need anymore to check if udc->driver
is NULL in IRQ handler.
Signed-off-by: Sylvain Rochet
Sugge
Hello Bo,
On Mon, Feb 09, 2015 at 05:02:52PM +0800, Bo Shen wrote:
> Enable usb device port on at91sam9n12ek board.
>
> Signed-off-by: Bo Shen
> ---
>
> arch/arm/boot/dts/at91sam9n12ek.dts | 5 +
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts
> b/a
Hello Nicolas,
On Thu, Feb 05, 2015 at 06:19:55PM +0100, Nicolas Ferre wrote:
> Le 22/01/2015 18:14, Boris Brezillon a écrit :
> > On Thu, 22 Jan 2015 17:56:44 +0100
> > Sylvain Rochet wrote:
> >
> > > -static const struct usba_udc_errata at91sam9g45_errata
Hello,
On Fri, Jan 23, 2015 at 09:59:58AM +0100, Nicolas Ferre wrote:
> Le 23/01/2015 08:43, Jean-Christophe PLAGNIOL-VILLARD a écrit :
> > > On Jan 23, 2015, at 12:56 AM, Sylvain Rochet
> > > wrote:
> > > + irq_set_status_f
threaded_irq() flags
Changes since v1:
* Using a threaded irq and mutex instead of spinclock as suggested
* Moved a silently fixed bug in a separate patch (1/2)
Sylvain Rochet (5):
USB: gadget: atmel_usba_udc: Fixed vbus_prev initial state
USB: gadget: atmel_usba_udc: Request an auto disabled
IRQ_TYPE_EDGE_RISING, otherwise set to false.
Signed-off-by: Sylvain Rochet
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 25 +++--
drivers/usb/gadget/udc/atmel_usba_udc.h | 5 +++--
2 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c
b
If vbus gpio is high at init, we should set vbus_prev to true
accordingly to the current vbus state. Without that, we skip the first
vbus interrupt because the saved vbus state is not consistent.
Signed-off-by: Sylvain Rochet
Acked-by: Nicolas Ferre
Acked-by: Boris Brezillon
---
drivers/usb
stays continuously clocked.
Signed-off-by: Sylvain Rochet
Acked-by: Nicolas Ferre
Acked-by: Boris Brezillon
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 144 +---
drivers/usb/gadget/udc/atmel_usba_udc.h | 4 +
2 files changed, 100 insertions(+), 48 deletions(-)
diff
clocks and USBA if we stopped them. If a device is
currently connected at resume time we enable the controller.
Signed-off-by: Sylvain Rochet
Acked-by: Boris Brezillon
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 68 +
1 file changed, 68 insertions(+)
diff --git a
al IRQ instead
of an auto enabled IRQ followed by disable_irq(). This way we remove the
very small timeslot of enabled IRQ which existed previously between
request() and disable(). We don't need anymore to check if udc->driver
is NULL in IRQ handler.
Signed-off-by: Sylvain Rochet
Sugge
stays continuously clocked.
Signed-off-by: Sylvain Rochet
Acked-by: Nicolas Ferre
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 149 +---
drivers/usb/gadget/udc/atmel_usba_udc.h | 4 +
2 files changed, 104 insertions(+), 49 deletions(-)
diff --git a/drivers/usb/gadget
ed interrupt because we are not in irq context anymore
* Removed useless and probably harmful IRQF_NO_SUSPEND from
devm_request_threaded_irq() flags
Changes since v1:
* Using a threaded irq and mutex instead of spinclock as suggested
* Moved a silently fixed bug in a separate patch (1
al IRQ instead
of an auto enabled IRQ followed by disable_irq(). This way we remove the
very small timeslot of enabled IRQ which existed previously between
request() and disable(). We don't need anymore to check if udc->driver
is NULL in IRQ handler.
Signed-off-by: Sylvain Rochet
Sugge
clocks and USBA we stopped them. If a device is
connected, i.e. connected while we were suspended without wakeup
enabled, we enable the controller.
Signed-off-by: Sylvain Rochet
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 61 +
1 file changed, 61 insertions(+)
diff
If vbus gpio is high at init, we should set vbus_prev to true
accordingly to the current vbus state. Without that, we skip the first
vbus interrupt because the saved vbus state is not consistent.
Signed-off-by: Sylvain Rochet
Acked-by: Nicolas Ferre
Fixes: 914a3f3b3754 ("USB: add atmel_usb
Hi Boris,
On Wed, Jan 21, 2015 at 10:20:16AM +0100, Boris Brezillon wrote:
> >
> > udc->vbus_prev = 0;
> > - if (gpio_is_valid(udc->vbus_pin))
> > - enable_irq(gpio_to_irq(udc->vbus_pin));
> > + if (gpio_is_valid(udc->vbus_pin)) {
> > + ret = request_irq(gpio_to_irq(u
bug in a separate patch (1/2)
Sylvain Rochet (3):
USB: gadget: atmel_usba_udc: Fixed vbus_prev initial state
USB: gadget: atmel_usba_udc: Enable Vbus signal IRQ in UDC start
instead of UDC probe
USB: gadget: atmel_usba_udc: Start clocks on rising edge of the Vbus
signal, stop clocks on fal
driver in the
future.
Signed-off-by: Sylvain Rochet
Acked-by: Nicolas Ferre
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 86 -
drivers/usb/gadget/udc/atmel_usba_udc.h | 4 ++
2 files changed, 66 insertions(+), 24 deletions(-)
diff --git a/drivers/usb/gadget/udc
If vbus gpio is high at init, we should set vbus_prev to true
accordingly to the current vbus state. Without that, we skip the first
vbus interrupt because the saved vbus state is not consistent.
Signed-off-by: Sylvain Rochet
Acked-by: Nicolas Ferre
Fixes: 914a3f3b3754 ("USB: add atmel_usb
RQ (IRQF_NOAUTOEN flag) because set_irq_flags() can't change
just one flag, therefore it must be called with all flags, without
respecting what the AIC previously did. Naively copying IRQ flags
currently set by the AIC looked like error-prone if defaults flags
change at some point in the futu
This patch replace struct platform_driver.{resume,suspend} PM bindings
to a new struct dev_pm_ops.
Signed-off-by: Sylvain Rochet
Acked-by: Boris Brezillon
Acked-by: Alan Stern
Acked-by: Nicolas Ferre
---
drivers/usb/host/ohci-at91.c | 21 ++---
1 file changed, 10 insertions
struct usb_hcd *hcd = NULL;
...
hcd = usb_create_hcd(driver, dev, "at91");
This patch remove *hcd useless initialisation
Signed-off-by: Sylvain Rochet
Acked-by: Boris Brezillon
Acked-by: Alan Stern
Acked-by: Nicolas Ferre
---
drivers/usb/host/ohci-at91.c | 2 +-
1 file changed, 1
.
Now, if STANDBY target is chosen the device is still clocked with wake
up support enabled, which were the previous default and if MEM target is
chosen the device is declocked with wake up support disabled.
Signed-off-by: Sylvain Rochet
Acked-by: Boris Brezillon
Acked-by: Alan Stern
Acked-by
This patch move AT91 OHCI global variables (clocks ptr and clocked
boolean) to private struct ohci_at91_priv, stored in ohci->priv.
Signed-off-by: Sylvain Rochet
Acked-by: Boris Brezillon
Acked-by: Alan Stern
Acked-by: Nicolas Ferre
---
drivers/usb/host/ohci-at91.c |
of this of this function
* Removed at91_suspend_entering_slow_clock() from OHCI
Sylvain Rochet (6):
USB: host: ehci-atmel: Add suspend/resume support
USB: host: ohci-at91: Use struct dev_pm_ops instead of struct
platform_driver
USB: host: ehci-atmel: Move global variables to private struct
US
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
Acked-by: Boris Brezillon
Acked-by: Alan Stern
Acked-by: Nicolas Ferre
Acked-by: Alexandre Belloni
---
drivers
This patch move Atmel EHCI global variables (clocks ptr and clocked
boolean) to private struct atmel_ehci_priv, stored in ehci->priv.
Signed-off-by: Sylvain Rochet
Acked-by: Boris Brezillon
Acked-by: Alan Stern
Acked-by: Nicolas Ferre
---
drivers/usb/host/ehci-atmel.c |
Hello,
On Mon, Jan 19, 2015 at 12:55:47PM -0600, Felipe Balbi wrote:
> On Mon, Jan 19, 2015 at 03:09:44PM +0100, Nicolas Ferre wrote:
> > Le 18/01/2015 18:24, Sylvain Rochet a écrit :
> > > If vbus gpio is high at init, we should set vbus_prev to true
> > > accordingl
Hello Nicolas,
On Mon, Jan 19, 2015 at 05:55:18PM +0100, Nicolas Ferre wrote:
> Le 18/01/2015 18:24, Sylvain Rochet a écrit :
> > Prepare_enable on rising edge, disable_unprepare on falling edge. Reduce
>
> Please re-write which "edge" we are talking about: "... fal
Hello Nicolas,
On Mon, Jan 19, 2015 at 02:34:20PM +0100, Nicolas Ferre wrote:
> Le 18/01/2015 23:25, Sylvain Rochet a écrit :
> > USB: host: Atmel OHCI and EHCI drivers improvements
> >
> > Suspend/resume support for EHCI.
> > struct dev_pm_ops for OHCI.
> > R
struct usb_hcd *hcd = NULL;
...
hcd = usb_create_hcd(driver, dev, "at91");
This patch remove *hcd useless initialisation
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/ohci-at91.c b/d
This patch move AT91 OHCI global variables (clocks ptr and clocked
boolean) to private struct ohci_at91_priv, stored in ohci->priv.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 84 +++-
1 file changed, 51 insertions(+), 33 deleti
tering_slow_clock() from OHCI
Sylvain Rochet (6):
USB: host: ehci-atmel: Add suspend/resume support
USB: host: ohci-at91: Use struct dev_pm_ops instead of struct
platform_driver
USB: host: ehci-atmel: Move global variables to private struct
USB: host: ohci-at91: Move global variables to pr
This patch move Atmel EHCI global variables (clocks ptr and clocked
boolean) to private struct atmel_ehci_priv, stored in ehci->priv.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ehci-atmel.c | 79 +++
1 file changed, 50 insertions(+), 29 deleti
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
---
drivers/usb/host/ehci-atmel.c | 31 +++
1 file changed, 31 insertions(+)
diff
.
Now, if STANDBY target is chosen the device is still clocked with wake
up support enabled, which were the previous default and if MEM target is
chosen the device is declocked with wake up support disabled.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 27
This patch replace struct platform_driver.{resume,suspend} PM bindings
to a new struct dev_pm_ops.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 21 ++---
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/drivers/usb/host/ohci-at91.c b/drivers
struct usb_hcd *hcd = NULL;
...
hcd = usb_create_hcd(driver, dev, "at91");
This patch remove *hcd useless initialisation
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/ohci-at91.c b/d
This patch replace struct platform_driver.{resume,suspend} PM bindings
to a new struct dev_pm_ops.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 21 ++---
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/drivers/usb/host/ohci-at91.c b/drivers
.
Now, if STANDBY target is chosen the device is still clocked with wake
up support enabled, which were the previous default and if MEM target is
chosen the device is declocked with wake up support disabled.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 19
Changes since v1:
* Don't use at91_suspend_entering_slow_clock() on EHCI,
we are trying to get read of this of this function
* Removed at91_suspend_entering_slow_clock() from OHCI
Sylvain Rochet (6):
USB: host: ehci-atmel: Add suspend/resume support
USB: host: ohci-at91: Use struct
This patch move Atmel EHCI global variables (clocks ptr and clocked
boolean) to private struct atmel_ehci_priv, stored in ehci->priv.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ehci-atmel.c | 79 +++
1 file changed, 50 insertions(+), 29 deleti
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
---
drivers/usb/host/ehci-atmel.c | 31 +++
1 file changed, 31 insertions(+)
diff
This patch move AT91 OHCI global variables (clocks ptr and clocked
boolean) to private struct ohci_at91_priv, stored in ohci->priv.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 86 ++--
1 file changed, 52 insertions(+), 34 deleti
Hello,
On Sun, Jan 18, 2015 at 08:36:03PM +0100, Sylvain Rochet wrote:
> Disable/unprepare clocks without testing the sleep target_state, removed
> the at91_suspend_entering_slow_clock() call (which is only a
> target_state == PM_SUSPEND_MEM).
>
> Other kind of suspend now benefit
Hello Alan,
On Sun, Jan 18, 2015 at 12:20:49PM -0500, Alan Stern wrote:
> On Sat, 17 Jan 2015, Sylvain Rochet wrote:
>
> > Sylvain Rochet (5):
> > USB: host: ehci_atmel: Add suspend/resume support
> > USB: host: ohci_at91: Stop/start USB PLL for all sleep modes
>
CI,
we are trying to get read of this of this function
* Removed at91_suspend_entering_slow_clock() from OHCI
Sylvain Rochet (6):
USB: host: ehci-atmel: Add suspend/resume support
USB: host: ohci-at91: Use struct dev_pm_ops instead of struct
platform_driver
USB: host: ohci-at91: Stop
is not
negligible but acceptable considering the amount of power we are saving.
Signed-off-by: Sylvain Rochet
Reported-by: Boris Brezillon
---
drivers/usb/host/ohci-at91.c | 25 +
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/drivers/usb/host/ohci-at91.c
This patch move AT91 OHCI global variables (clocks ptr and clocked
boolean) to private struct ohci_at91_priv, stored in ohci->priv.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 86 ++--
1 file changed, 52 insertions(+), 34 deleti
struct usb_hcd *hcd = NULL;
...
hcd = usb_create_hcd(driver, dev, "at91");
This patch remove *hcd useless initialisation
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/ohci-at91.c b/d
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
---
drivers/usb/host/ehci-atmel.c | 31 +++
1 file changed, 31 insertions(+)
diff
This patch replace struct platform_driver.{resume,suspend} PM bindings
to a new struct dev_pm_ops.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 21 ++---
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/drivers/usb/host/ohci-at91.c b/drivers
This patch move Atmel EHCI global variables (clocks ptr and clocked
boolean) to private struct atmel_ehci_priv, stored in ehci->priv.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ehci-atmel.c | 79 +++
1 file changed, 50 insertions(+), 29 deleti
useless and probably harmful IRQF_NO_SUSPEND from
devm_request_threaded_irq() flags
Changes since v1:
* Using a threaded irq and mutex instead of spinclock as suggested
* Moved a silently fixed bug in a separate patch (1/2)
Sylvain Rochet (2):
USB: gadget: atmel_usba_udc: Fixed vbus_prev
If vbus gpio is high at init, we should set vbus_prev to true
accordingly to the current vbus state. Without that, we skip the first
vbus interrupt because the saved vbus state is not consistent.
Signed-off-by: Sylvain Rochet
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 2 ++
1 file changed, 2
to an USB host is fine for what I need, this patch
allow suspending with USB PLL stopped when USB device is not currently
used.
Signed-off-by: Sylvain Rochet
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 96 -
drivers/usb/gadget/udc/atmel_usba_udc.h | 4 ++
2
to an USB host is fine for what I need, this patch
allow suspending with USB PLL stopped when USB device is not currently
used.
Signed-off-by: Sylvain Rochet
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 95 -
drivers/usb/gadget/udc/atmel_usba_udc.h | 4 ++
2
If vbus gpio is high at init, we should set vbus_prev to true
accordingly to the current vbus state. Without that, we skip the first
vbus interrupt because the saved vbus state is not consistent.
Signed-off-by: Sylvain Rochet
---
drivers/usb/gadget/udc/atmel_usba_udc.c | 2 ++
1 file changed, 2
to an USB host is fine for what I need, this patch
allow suspending with USB PLL stopped when USB device is not currently
used.
Change since v1:
* Using a threaded irq and mutex instead of spinclock as suggested
* Moved a silently fixed bug in a separate patch (1/2)
Sylvain Rochet (2):
USB
Hi Sergei,
On Sun, Jan 18, 2015 at 01:22:38AM +0300, Sergei Shtylyov wrote:
>
>There's little inconsistency in your patch subjects: you're using
> '_' but the files you're modifying are named using '-'...
Indeed.
> >@@ -187,6 +217,8 @@ static struct platform_driver ehci_atmel_driver = {
>
Hello Alan,
On Sat, Jan 17, 2015 at 03:30:45PM -0500, Alan Stern wrote:
>
> This is not the right way to do it. For an example of the right way,
> see the ehci-platform.c file. Your private structure is stored in
> ehci->priv, and its size is specified by the .extra_priv_size member of
> an
struct usb_hcd *hcd = NULL;
...
hcd = usb_create_hcd(driver, dev, "at91");
This patch remove *hcd useless initialisation
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/ohci-at91.c b/d
This patch move AT91 OHCI global variables (clocks ptr and clocked
boolean) to private struct ohci_at91_priv, stored in ohci->priv.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 85 ++--
1 file changed, 51 insertions(+), 34 deleti
is not
negligible but acceptable considering the amount of power we are saving.
Signed-off-by: Sylvain Rochet
Reported-by: Boris Brezillon
---
drivers/usb/host/ohci-at91.c | 25 +
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/drivers/usb/host/ohci-at91.c
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
---
drivers/usb/host/ehci-atmel.c | 32
1 file changed, 32 insertions(+)
diff
This patch move Atmel EHCI global variables (clocks ptr and clocked
boolean) to private struct atmel_ehci_priv, stored in ehci->priv.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ehci-atmel.c | 78 +++
1 file changed, 49 insertions(+), 29 deleti
Sylvain Rochet (5):
USB: host: ehci_atmel: Add suspend/resume support
USB: host: ohci_at91: Stop/start USB PLL for all sleep modes
USB: host: ehci_atmel: Move global variables to private struct
USB: host: ohci_at91: Move global variables to private struct
USB: host: ohci_at91
This patch move Atmel OHCI global variables (clocks ptr and clocked
boolean) to private struct ohci_at91, appended at the end of the parent
struct usb_hcd.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 85 +++-
1 file changed, 52
struct usb_hcd *hcd = NULL;
...
hcd = usb_create_hcd(driver, dev, "at91");
This patch remove *hcd useless initialisation to NULL;
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ohci-at91.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/ohc
This patch move Atmel EHCI global variables (clocks ptr and clocked
boolean) to private struct atmel_ehci, appended at the end of the parent
struct usb_hcd.
Signed-off-by: Sylvain Rochet
---
drivers/usb/host/ehci-atmel.c | 75 +++
1 file changed, 48
is not
negligible but acceptable considering the amount of power we are saving.
Signed-off-by: Sylvain Rochet
Reported-by: Boris Brezillon
---
drivers/usb/host/ohci-at91.c | 25 +
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/drivers/usb/host/ohci-at91.c
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
---
drivers/usb/host/ehci-atmel.c | 32
1 file changed, 32 insertions(+)
diff
78 matches
Mail list logo