lkml.org 
[lkml]   [2015]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] tty/serial: at91: fix bugs when using multiple serials
Date
The series of patches fix bugs when using multiple serial ports at the same time:
- The using rx ring buffer in DMA is inconsistent with its allocation.
- The serial port can't send and receive data when it's opened the second time
and the later if it switches to PIO when DMA channel is not available.
- The serial port can lead to kernel crash when data is sending and receiving
and the program is killed.

The patches were made from branch tty-next of gregkh/tty.git repository, and
tested on a SAMA5D36 VB boards with 5 serial ports enabled.

Leilei Zhao (5):
tty/serial: at91: correct check of buf used in DMA
tty/serial: at91: correct buffer size used in DMA
tty/serial: at91: revise the return type of atmel_init_property
tty/serial: at91: set ops in property init each time
tty/serial: at91: correct the usage of tasklet

drivers/tty/serial/atmel_serial.c | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)

--
1.7.9.5



\
 
 \ /
  Last update: 2015-02-26 08:41    [W:0.095 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site