lkml.org 
[lkml]   [2008]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] atmel_serial: update the powersave handler to match serial core
Michael Trimarchi <trimarchimichael@yahoo.it> wrote:
> > + /* we can not wake up if we're running on slow clock */
> > + atmel_port->may_wakeup = device_may_wakeup(&pdev->dev);
> > + if (atmel_serial_clk_will_stop())
> > + device_set_wakeup_enable(&pdev->dev, 0);
> > +
> This is not true, the wakeup in the slow clock is possible, configure the
> input pin of the serial device as a gpio, and wake up on gpio. Then you
> must reconfigure as a serial pin, and you can wake up on slow clock.

Yes, but the current driver doesn't actually support that, does it?

This patch doesn't really change that assumption anyway -- it just
implements it in a way more consistent with the current serial core.

Haavard


\
 
 \ /
  Last update: 2008-09-19 17:49    [W:0.038 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site