android_kernel_samsung_univ.../drivers/tty/serial
George Spelvin 593fb1ae45 pps: Move timestamp read into PPS code proper
The PPS (Pulse-Per-Second) line discipline has developed a number of
unhealthy attachments to core tty data and functions, ultimately leading
to its breakage.

The previous patches fixed the crashing.  This one reduces coupling further
by eliminating the timestamp parameter from the dcd_change ldisc method.
This reduces header file linkage and makes the extension more generic,
and the timestamp read is delayed only slightly, from just before the
ldisc->ops->dcd_change method call to just after.

Fix attendant build breakage in
    drivers/tty/n_tty.c
    drivers/tty/tty_buffer.c
    drivers/staging/speakup/selection.c
    drivers/staging/dgrp/dgrp_*.c

Cc: William Hubbs <w.d.hubbs@gmail.com>
Cc: Chris Brannon <chris@the-brannons.com>
Cc: Kirk Reiser <kirk@braille.uwo.ca>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: George Spelvin <linux@horizon.com>
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-13 10:13:58 -08:00
..
8250 serial: ralink: adds support for the serial core found on ralink wisoc 2013-01-30 00:15:34 -05:00
cpm_uart TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
jsm TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
21285.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
68328serial.c tty: serial/68328serial.c: remove unnecessary null pointer check 2013-01-17 17:20:09 -08:00
altera_jtaguart.c tty: serial: altera_jtaguart: Simplify altera_jtaguart_init() 2013-02-05 11:13:51 -08:00
altera_uart.c tty: serial: altera_uart: Simplify altera_uart_init() 2013-02-05 11:13:50 -08:00
amba-pl010.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
amba-pl011.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
apbuart.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
apbuart.h
ar933x_uart.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
arc_uart.c serial/arc-uart: Miscll DT related updates (Grant's review comments) 2013-02-13 08:37:49 -08:00
atmel_serial.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
bcm63xx_uart.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
bfin_sport_uart.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
bfin_sport_uart.h
bfin_uart.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
clps711x.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
crisv10.c tty: serial/crisv10.c: remove unnecessary null pointer check 2013-01-17 17:20:10 -08:00
crisv10.h
dz.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
dz.h
efm32-uart.c serial/efm32: parse location property 2013-01-21 13:56:46 -08:00
icom.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
icom.h
ifx6x60.c Merge 3.8-rc5 into tty-next 2013-01-25 13:27:36 -08:00
ifx6x60.h
imx.c Revert "serial: imx: Move imx_port_ucrs_save/restore under CONFIG_CONSOLE_POLL" 2013-02-06 13:36:54 -08:00
ioc3_serial.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
ioc4_serial.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
ip22zilog.c TTY: ip22zilog, fix tty_flip_buffer_push call 2013-01-16 07:36:47 -08:00
ip22zilog.h
Kconfig drivers/serial: add GENERIC_HARDIRQS dependency 2013-02-08 12:24:57 -08:00
kgdb_nmi.c kgdb: remove #include <linux/serial_8250.h> from kgdb.h 2013-02-04 15:35:26 -08:00
kgdboc.c
lantiq.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
lpc32xx_hs.c serial: lpc32xx: Fix fallout from tty_port conversion 2013-01-18 16:05:15 -08:00
m32r_sio_reg.h
m32r_sio.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
m32r_sio.h
Makefile serial: rp2: New driver for Comtrol RocketPort 2 cards 2013-01-17 17:28:39 -08:00
max310x.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
max3100.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
mcf.c serial: mcf: Add support RS485 in ColdFire serial driver 2013-01-15 22:56:34 -08:00
mfd.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
mpc52xx_uart.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
mpsc.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
mrst_max3110.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
mrst_max3110.h
msm_serial_hs.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
msm_serial.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
msm_serial.h
msm_smd_tty.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
mux.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
mxs-auart.c Merge 3.8-rc5 into tty-next 2013-01-25 13:27:36 -08:00
netx-serial.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
nwpserial.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
of_serial.c tty: of_serial: unexport tegra_serial_handle_break 2013-02-05 11:13:16 -08:00
omap-serial.c OMAP/serial: Fix incorrect Rx FIFO threshold setting, LSR validation on Tx, and Tx FIFO IRQ generation 2013-02-05 11:13:16 -08:00
pch_uart.c serial: pch_uart: fix sysrq handling for pch_uart 2013-01-25 08:52:23 -08:00
pmac_zilog.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
pmac_zilog.h
pnx8xxx_uart.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
pxa.c serial: pxa: fine-tune clk useage 2013-01-25 08:52:23 -08:00
rp2.c serial: rp2: New driver for Comtrol RocketPort 2 cards 2013-01-17 17:28:39 -08:00
sa1100.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
samsung.c Merge 3.8-rc5 into tty-next 2013-01-25 13:27:36 -08:00
samsung.h
sb1250-duart.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
sc26xx.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
sccnxp.c serial: sccnxp: Make baudrate table struct static 2013-01-21 13:56:46 -08:00
serial_core.c pps: Move timestamp read into PPS code proper 2013-02-13 10:13:58 -08:00
serial_ks8695.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
serial_txx9.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
serial-tegra.c serial: tegra: Fix compilation error 2013-01-25 08:52:24 -08:00
sh-sci.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
sh-sci.h
sirfsoc_uart.c serial: sirf: only use lookup table to set baudrate when ioclk=150MHz 2013-01-17 17:18:55 -08:00
sirfsoc_uart.h serial: sirf: only use lookup table to set baudrate when ioclk=150MHz 2013-01-17 17:18:55 -08:00
sn_console.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
suncore.c
sunhv.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
sunsab.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
sunsab.h
sunsu.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
sunzilog.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
sunzilog.h
timbuart.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
timbuart.h
uartlite.c tty: serial: uartlite: Support uartlite on big and little endian systems 2013-02-13 08:38:45 -08:00
ucc_uart.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
vr41xx_siu.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
vt8500_serial.c Merge 3.8-rc5 into tty-next 2013-01-25 13:27:36 -08:00
xilinx_uartps.c serial: xilinx_uartps: Remove leftover __exit_p() 2013-01-22 09:25:33 -08:00
zs.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
zs.h