From: Cyrille Pitchen Date: Thu, 30 Jul 2015 14:33:38 +0000 (+0200) Subject: tty/serial: at91: fix I/O accesses on RHR and THR for AVR32 X-Git-Tag: omap-for-v4.3/fixes-merge-window~43^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a649943522de07e67a5981b1ff227684b94bada4;p=pandora-kernel.git 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 Tested-by: Andy Shevchenko Acked-by: Alexandre Belloni Acked-by: Nicolas Ferre Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed