Commit 1bed90b3 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: fixup from previous io_ti.c patch

parent 169b4d42
...@@ -503,13 +503,13 @@ static int TIIsTxActive (struct edgeport_port *port) ...@@ -503,13 +503,13 @@ static int TIIsTxActive (struct edgeport_port *port)
if (status) if (status)
goto exit_is_tx_active; goto exit_is_tx_active;
dbg ("%s - LSR = 0x%X", __FUNCTION__, lsr); dbg ("%s - LSR = 0x%X", __FUNCTION__, *lsr);
/* If either buffer has data or we are transmitting then return TRUE */ /* If either buffer has data or we are transmitting then return TRUE */
if ((oedb->XByteCount & 0x80 ) != 0 ) if ((oedb->XByteCount & 0x80 ) != 0 )
bytes_left += 64; bytes_left += 64;
if ((lsr & UMP_UART_LSR_TX_MASK ) == 0 ) if ((*lsr & UMP_UART_LSR_TX_MASK ) == 0 )
bytes_left += 1; bytes_left += 1;
/* We return Not Active if we get any kind of error */ /* We return Not Active if we get any kind of error */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment