logo       

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

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

Attachment: serial8250-size_fifo-bug.patch
Description: Text Data

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

News | FAQ | advertise