Re: [PATCH] atmel_serial: update the powersave handler to match serial core

From: Michael Trimarchi
Date: Fri Sep 19 2008 - 11:33:59 EST


Hi,




> + /* 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.

Regards Michael

__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi
http://mail.yahoo.it
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/