serial: sh-sci: suspend/resume wakeup support V2
authorMagnus Damm <damm@opensource.se>
Thu, 21 Apr 2011 13:08:46 +0000 (13:08 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 23 May 2011 03:22:09 +0000 (12:22 +0900)
commit54aa89ea29d7dd7fd414297d4bdc8f6eff905784
tree8094f387f015089d649c5f5d115f1e08deba6c9a
parent5e50d2d622c745d4439fc9a33d932cc3add2318f
serial: sh-sci: suspend/resume wakeup support V2

This patch adds wakeup support to the sh-sci driver. The serial
core deals with all details but defaults to wakeup disabled. So
to make use of this feature enable wakeup in sysfs:

echo enabled > /sys/class/tty/ttySC0/power/wakeup

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/tty/serial/sh-sci.c