diff options
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | 2015-07-30 16:33:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-05 07:07:22 +0200 |
commit | a649943522de07e67a5981b1ff227684b94bada4 (patch) | |
tree | ba03e74b222420b53e57538024113ee8c20574de /drivers/clk/clk-twl6040.c | |
parent | serial: Allow compile test of GPIO consumers if !GPIOLIB (diff) | |
download | linux-a649943522de07e67a5981b1ff227684b94bada4.tar.xz linux-a649943522de07e67a5981b1ff227684b94bada4.zip |
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>
Diffstat (limited to 'drivers/clk/clk-twl6040.c')
0 files changed, 0 insertions, 0 deletions