commit | 29772c4e28cbb33ea1f8c6dcd130ebf190b91d85 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Thu Feb 24 13:21:36 2011 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Mar 10 10:07:24 2011 +0000 |
tree | 17042eda647a9576055f7355fc179595fe429a55 | |
parent | ead76f329f777c7301e0a5456a0a1c7a081570bd [diff] |
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>