Home
last modified time | relevance | path

Searched hist:a649943522de07e67a5981b1ff227684b94bada4 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/tty/serial/
H A Datmel_serial.cdiff a649943522de07e67a5981b1ff227684b94bada4 Thu Jul 30 09:33:38 CDT 2015 Cyrille Pitchen <cyrille.pitchen@atmel.com> tty/serial: at91: fix I/O accesses on RHR and THR for AVR32

This patch fixes I/O accesses on the Receiver Holding Register and on the
Transmitter Holding Register. Indeed AVR32 can only perform 32bit I/O
accesses on registers: using 8bit I/O accesses would read or write garbage
data.

Fixes: commit b5199d468177 ("tty/serial: at91: add support to FIFOs")
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Tested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>