kernel-fxtec-pro1x/drivers/serial
Russell King 9d778a6937 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>
2008-02-05 09:44:09 -08:00
..
cpm_uart [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
jsm jsm: Remove further unneeded crud 2007-10-17 08:42:52 -07:00
8250.c 8250.c: support specifying DW APB UARTs in device platform_data 2008-02-05 09:44:09 -08:00
8250.h
8250_accent.c
8250_acorn.c
8250_au1x00.c
8250_boca.c
8250_early.c serial: fix compile warning about putc 2007-11-05 15:12:32 -08:00
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_mca.c
8250_pci.c serial: add ADDI-DATA GmbH Communication cardsin8250_pci.c and pci_ids.h 2008-02-05 09:44:09 -08:00
8250_pnp.c serial: only use PNP IRQ if it's valid 2007-11-14 18:45:41 -08:00
21285.c [ARM] 21285 serial: fix build error 2008-02-04 13:14:06 +00:00
68328serial.c m68knommu: use IRQF_DISABLE in m68328serial.c 2008-02-01 21:00:01 +11:00
68328serial.h
68360serial.c
amba-pl010.c
amba-pl011.c amba-pl011, rename BIT macro 2007-10-19 11:53:42 -07:00
atmel_serial.c [ARM] 4660/3: at91: allow selecting UART for early kernel messages 2008-02-04 13:16:39 +00:00
bfin_5xx.c [Blackfin] arch: set_bfin_dma_config shouldnt set SYNC or RESTART by default - add argument or option 2008-01-22 15:29:18 +08:00
clps711x.c
crisv10.c CRISv10 serial driver rewrite 2007-11-14 18:45:46 -08:00
crisv10.h CRISv10 serial driver rewrite 2007-11-14 18:45:46 -08:00
dz.c
dz.h
icom.c kobject: convert icom to use kref, not kobject 2008-01-24 20:40:09 -08:00
icom.h Coding style fix drivers/serial/icom.h 2008-02-03 14:47:38 +02:00
imx.c
ioc3_serial.c
ioc4_serial.c
ip22zilog.c IP22ZILOG: fix lockup and sysrq 2007-11-29 09:24:53 -08:00
ip22zilog.h
Kconfig SERIAL_NETX_CONSOLE provides console for NetX, not IMX 2008-02-03 14:55:57 +02:00
m32r_sio.c
m32r_sio.h
m32r_sio_reg.h
Makefile m68knommu: build support for new ColdFire serial driver 2008-02-01 20:54:03 +11:00
mcf.c m68knommu: use container_of in mcf.c 2008-02-01 21:00:01 +11:00
mcfserial.c
mcfserial.h
mpc52xx_uart.c [POWERPC] mpc5200: normalize compatible property bindings 2008-01-26 15:26:01 -07:00
mpsc.c
mux.c drivers/serial/: Spelling fixes 2008-02-03 17:29:25 +02:00
netx-serial.c
of_serial.c
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c
pxa.c [ARM] 4662/1: Fix PXA serial driver compilation if SERIAL_PXA_CONSOLE is disabled 2007-11-26 14:39:12 +00:00
s3c2410.c drivers/serial/s3c2410.c: remove dead config symbols 2008-02-05 09:44:09 -08:00
sa1100.c
sb1250-duart.c
serial_core.c serial: avoid waking up closed serial ports on resume 2008-02-05 09:44:09 -08:00
serial_cs.c pcmcia: replace kio_addr_t with unsigned int everywhere 2008-02-05 09:44:08 -08:00
serial_ks8695.c
serial_lh7a40x.c
serial_txx9.c serial: fix serial_txx9 console initialization 2007-10-30 08:06:55 -07:00
sh-sci.c sh: Add support for SH7763 CPU subtype. 2008-01-28 13:19:02 +09:00
sh-sci.h sh: Add support for SH7763 CPU subtype. 2008-01-28 13:19:02 +09:00
sn_console.c
suncore.c [SERIAL]: Fix section mismatches in Sun serial console drivers. 2007-12-29 01:19:49 -08:00
suncore.h [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunhv.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunsab.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunsab.h
sunsu.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunzilog.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunzilog.h
uartlite.c [POWERPC] Xilinx uartlite: Section type fixups 2008-01-09 07:59:00 -07:00
ucc_uart.c [POWERPC] qe-uart: add support for Freescale QUICCEngine UART 2008-01-23 19:34:12 -06:00
v850e_uart.c
vr41xx_siu.c
zs.c
zs.h