linux/drivers/tty/serial
Huang Shijie d7ffb93290 serial: mxs-auart: unmap the scatter list before we copy the data
We should first unmap the DMA scatter list for receiving data, and
then copy the data from the DMA buffer.

The old code misses unmap the scatter list for RX. This patch fixes it.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Tested-by: Lauri Hintsala <lauri.hintsala@bluegiga.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-26 15:38:44 -08:00
..
8250 tty/8250 Add check for pci_ioremap_bar failure 2012-11-21 16:31:18 -08:00
cpm_uart tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
jsm tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
21285.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
68328serial.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
altera_jtaguart.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
altera_uart.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
amba-pl010.c drivers/tty/serial/amba-pl0{10,11}.c: use clk_prepare_enable and clk_disable_unprepare 2012-09-05 12:33:39 -07:00
amba-pl011.c serial/amba-pl011: use devm_* managed resources 2012-10-25 11:29:44 -07:00
apbuart.c tty: remove use of __devinit 2012-11-21 15:22:52 -08:00
apbuart.h
ar933x_uart.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
arc_uart.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
atmel_serial.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
bcm63xx_uart.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
bfin_sport_uart.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
bfin_sport_uart.h tty: bfin-sport-uart: Rx interrupt is not called always with irq disabled. 2011-12-09 19:05:33 -08:00
bfin_uart.c serial: bfin_uart: Don't switch baud rate untill the transfer buffer is empty. 2012-11-21 15:43:26 -08:00
clps711x.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
crisv10.c TTY: use tty_port_link_device 2012-08-13 16:50:19 -07:00
crisv10.h
dz.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
dz.h
efm32-uart.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
icom.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
icom.h
ifx6x60.c tty/serial: fix ifx6x60.c declaration warning 2012-11-26 15:36:39 -08:00
ifx6x60.h serial:ifx6x60:Prevent data transfer when IFX6x60 port is shutdown 2012-11-01 08:50:01 -07:00
imx.c ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
ioc3_serial.c tty: remove use of __devinit 2012-11-21 15:22:52 -08:00
ioc4_serial.c TTY: serial: move the dereference below the NULL test 2012-09-10 16:33:02 -07:00
ip22zilog.c
ip22zilog.h
Kconfig serial: Unneeded ARCH dependencies are removed 2012-11-15 17:11:42 -08:00
kgdb_nmi.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
kgdboc.c KGDB/KDB fixes and cleanups 2012-10-13 11:16:58 +09:00
lantiq.c SERIAL: MIPS: lantiq: implement OF support 2012-05-21 14:31:54 +01:00
lpc32xx_hs.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
m32r_sio_reg.h m32r: relocate drivers back out of 8250 dir 2012-02-08 15:04:32 -08:00
m32r_sio.c m32r_sio: remove dependency on struct serial_uart_config 2012-09-05 13:15:07 -07:00
m32r_sio.h TTY: serial, include pci.h in m32r_sio 2012-03-08 11:47:02 -08:00
Makefile serial/arc-uart: Add new driver 2012-10-30 14:06:52 -07:00
max310x.c serial: max310x: Setup missing "can_sleep" field for GPIO 2012-11-26 15:38:44 -08:00
max3100.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
mcf.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
mfd.c tty: remove use of __devinitconst 2012-11-21 15:26:22 -08:00
mpc52xx_uart.c tty: remove use of __devinit 2012-11-21 15:22:52 -08:00
mpsc.c
mrst_max3110.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
mrst_max3110.h max3110: add sysrq support 2011-08-26 11:01:15 -07:00
msm_serial_hs.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
msm_serial.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
msm_serial.h
msm_smd_tty.c TTY: use tty_port_register_device 2012-08-13 16:50:19 -07:00
mux.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
mxs-auart.c serial: mxs-auart: unmap the scatter list before we copy the data 2012-11-26 15:38:44 -08:00
netx-serial.c
nwpserial.c tty: Add export.h for EXPORT_SYMBOL/THIS_MODULE to exporters 2011-10-31 19:31:28 -04:00
of_serial.c tty: remove use of __devinitdata 2012-11-21 15:25:06 -08:00
omap-serial.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
pch_uart.c tty: remove use of __devinit 2012-11-21 15:22:52 -08:00
pmac_zilog.c pmac_zilog,kdb: Fix console poll hook to return instead of loop 2012-08-16 12:20:20 -07:00
pmac_zilog.h tty/serial/pmac_zilog: Fix suspend & resume 2011-12-16 11:10:01 +11:00
pnx8xxx_uart.c
pxa.c tty: serial: KGDB support for PXA 2012-10-24 11:38:28 -07:00
sa1100.c tty: remove use of __devinit 2012-11-21 15:22:52 -08:00
samsung.c serial: samsung: add devicetree properties for non-Exynos SoCs 2012-11-26 15:36:39 -08:00
samsung.h serial: samsung: merge probe() function from all SoC specific extensions 2011-12-23 10:07:00 +09:00
sb1250-duart.c SERIAL: MIPS Swarm sb1250-duart.c driver needs module.h 2012-05-15 17:48:50 +02:00
sc26xx.c tty: remove use of __devinit 2012-11-21 15:22:52 -08:00
sccnxp.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
serial_core.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
serial_ks8695.c serial: ks8695: use __iomem pointers for MMIO 2012-09-19 15:37:13 +02:00
serial_txx9.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
sh-sci.c tty: remove use of __devinit 2012-11-21 15:22:52 -08:00
sh-sci.h serial: sh-sci: use serial_port_in/out vs sci_in/out. 2012-03-30 19:50:15 +09:00
sirfsoc_uart.c tty: remove use of __devinitdata 2012-11-21 15:25:06 -08:00
sirfsoc_uart.h serial/sirf: fixup for changes to pin control 2012-02-22 17:59:12 +01:00
sn_console.c Miscellaneous Itanium patches 2012-03-23 17:19:37 -07:00
suncore.c tty: sparc: rename drivers/tty/serial/suncore.h -> include/linux/sunserialcore.h 2012-02-10 10:44:35 -08:00
sunhv.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
sunsab.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
sunsab.h
sunsu.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
sunzilog.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
sunzilog.h
timbuart.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
timbuart.h
uartlite.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
ucc_uart.c serial: Kill off NO_IRQ 2012-01-26 17:14:50 -08:00
vr41xx_siu.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
vt8500_serial.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
xilinx_uartps.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
zs.c SERIAL: MIPS DECstation zs.c driver needs module.h 2012-05-15 17:48:50 +02:00
zs.h