Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 967b6fb1 authored by Karthikeyan Ramasubramanian's avatar Karthikeyan Ramasubramanian
Browse files

tty: serial: msm_geni_serial: Update framework fifo after draining



Currently the tail pointer in the UART framework's circular buffer gets
updated everytime data is transmitted. This enables the framework to
constantly fill the circular buffer if large amount of data needs to be
transmitted. This leads to starvation when there is continuous transmission
at a lesser baud rate.

Update the framework's tail pointer when the entire circular buffer is
drained. This will provide a soft flow control and avoid any starvation.

Change-Id: Icc1fd7071e94917d35bb0edd30e35b14030a648c
Signed-off-by: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
parent 54d765eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment