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

Skip to content
Commit 40cdf082 authored by Karthikeyan Ramasubramanian's avatar Karthikeyan Ramasubramanian
Browse files

drivers: tty: serial: Fix the early console behavior



msm_geni_serial_cancel_tx() waits for the data written to a Serial Engine
to be flushed out for console UART ports. A check for uart_console() checks
only for regular console port and excludes early console. Hence the early
console writes the data to the Serial Engine and returns immediately.
Subsequent writes by early console puts the Serial Engine in bad state and
leads to system slowdown until the regular console port takes control.

Invoke the msm_geni_serial_cancel_tx() for both console and early console.

Change-Id: I8313277332c7b17c457fd3ff7fd1f5dadd0830c5
Signed-off-by: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
parent f3fbc3a3
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