linux-stable-rt/drivers/serial
David Brownell 06a7f05876 atmel_serial: keep clock off when it's not needed
The atmel_serial driver is mismanaging its clock by leaving it on at all
times ...  the whole point of clock management is to leave it off unless
it's actively needed, which conserves power!!

Although the kernel doesn't actually hang without my fix, it does
discard quite a lot of early console output.

The result still looks correct:

          usart        users= 1 on   35000000 Hz, for atmel_usart.0
          usart        users= 0 off  35000000 Hz, for atmel_usart.2

when using ttyS0 as serial console.

[haavard.skinnemoen@atmel.com: Make sure clock is enabled early for console]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-11-06 15:41:19 -08:00
..
cpm_uart
jsm
8250.c
8250.h
8250_accent.c
8250_acorn.c
8250_boca.c
8250_early.c
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_mca.c
8250_pci.c 8250: Add more OxSemi devices 2008-10-23 09:35:18 -07:00
8250_pnp.c
21285.c
68328serial.c
68328serial.h
68360serial.c
Kconfig [ARM] build fixes for netX serial driver 2008-10-30 09:41:59 +01:00
Makefile
amba-pl010.c
amba-pl011.c
atmel_serial.c atmel_serial: keep clock off when it's not needed 2008-11-06 15:41:19 -08:00
bfin_5xx.c
bfin_sport_uart.c
bfin_sport_uart.h
clps711x.c
crisv10.c [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
crisv10.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
dz.c
dz.h
icom.c
icom.h
imx.c
ioc3_serial.c
ioc4_serial.c
ip22zilog.c
ip22zilog.h
kgdboc.c
m32r_sio.c
m32r_sio.h
m32r_sio_reg.h
mcf.c
mpc52xx_uart.c
mpsc.c
mux.c
netx-serial.c [ARM] build fixes for netX serial driver 2008-10-30 09:41:59 +01:00
of_serial.c
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c
pxa.c
s3c2400.c
s3c2410.c
s3c2412.c
s3c2440.c
sa1100.c
samsung.c
samsung.h
sb1250-duart.c
sc26xx.c
serial_core.c
serial_cs.c
serial_ks8695.c
serial_lh7a40x.c
serial_txx9.c
sh-sci.c sh: Fix up the shared IRQ demuxer's control bit testing logic. 2008-10-31 16:10:23 +09:00
sh-sci.h sh: Fix up the shared IRQ demuxer's control bit testing logic. 2008-10-31 16:10:23 +09:00
sn_console.c
suncore.c
suncore.h
sunhv.c
sunsab.c
sunsab.h
sunsu.c
sunzilog.c
sunzilog.h
uartlite.c
ucc_uart.c
vr41xx_siu.c
zs.c
zs.h