diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-02-24 13:21:36 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-03-10 11:07:24 +0100 |
commit | 29772c4e28cbb33ea1f8c6dcd130ebf190b91d85 (patch) | |
tree | 17042eda647a9576055f7355fc179595fe429a55 /drivers/char | |
parent | ARM: 6763/1: pl011: add optional RX DMA to PL011 v2 (diff) | |
download | linux-29772c4e28cbb33ea1f8c6dcd130ebf190b91d85.tar.xz linux-29772c4e28cbb33ea1f8c6dcd130ebf190b91d85.zip |
ARM: 6764/1: pl011: factor out FIFO to TTY code
This piece of code was just slightly different between the DMA
and IRQ paths, in DMA mode we surely shouldn't read more than
256 character either, so factor this out in its own function and
use for both DMA and PIO mode.
Tested on Ux500 and U300.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions