logo       

[PATCH] serial 8250.c: size_fifo tries to read write-only FCR register: msg#00017

linux.serial

Subject: [PATCH] serial 8250.c: size_fifo tries to read write-only FCR register

The function size_fifo wants to backup the FCR register by reading it, but
it is a write-only register. A read to this adress returns the IIR register.
The size_fifo function is only used during autoconfig, and after autoconfig
the FIFO are cleared and deactivated, so we don't need to save FCR.

Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@xxxxxxxxxxx>


________________________________________________
Message sent using UebiMiau 2.7.9


-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise