diff options
author | Russell King <rmk+lkml@arm.linux.org.uk> | 2008-02-04 22:27:51 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 09:44:09 -0800 |
commit | 9d778a69370cc1b643b13648df971c83ff5654ef (patch) | |
tree | e32a231699733217a8ab2f42893c6e5b5cf97a97 /include | |
parent | 74a197417240120d638d67d74f48655fb7f46f16 (diff) | |
download | kernel_samsung_espresso10-9d778a69370cc1b643b13648df971c83ff5654ef.zip kernel_samsung_espresso10-9d778a69370cc1b643b13648df971c83ff5654ef.tar.gz kernel_samsung_espresso10-9d778a69370cc1b643b13648df971c83ff5654ef.tar.bz2 |
serial: avoid waking up closed serial ports on resume
When we boot, serial ports remain in low power mode until they're used either
by userspace or for the kernel console.
However, if you suspend the system, and then resume, all serial ports will be
taken out of low power mode. This is bad news for embedded devices where this
can mean higher power consumption.
Only bring a serial port out of low power mode if the port is being used as
the kernel console, or is in use by userspace.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions