]> Git Repo - qemu.git/commit
imx_serial: Generate interrupt on tx empty if enabled
authorGuenter Roeck <[email protected]>
Thu, 20 Aug 2015 15:52:35 +0000 (08:52 -0700)
committerMichael Tokarev <[email protected]>
Thu, 8 Oct 2015 16:46:01 +0000 (19:46 +0300)
commitdc1442204a2235b1ad0c4bdceb3580c97f71f1b5
tree94736c920956c58188d0674cfd5e4986d75acb1d
parent7af0fc994e85c0ff16eda6d7e328427b02a01008
imx_serial: Generate interrupt on tx empty if enabled

Generate an interrupt if the tx buffer is empty and the tx empty interrupt
is enabled. This fixes a problem seen when running a Linux image since
Linux commit 55c3cb1358e ("serial: imx: remove unneeded imx_transmit_buffer()
from imx_start_tx()"). Linux now waits for the tx empty interrupt before
starting to send data, causing transmit stalls until there is an interrupt
for another reason.

Signed-off-by: Guenter Roeck <[email protected]>
Reviewed-by: Peter Crosthwaite <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
hw/char/imx_serial.c
This page took 0.025285 seconds and 4 git commands to generate.