summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorYoungmin Nam <ym0914@gmail.com>2016-03-05 13:36:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-08 03:11:14 +0300
commitaba06e922234c72ac7f98e838b336b20228c232b (patch)
treed54f1708123e3a183725a6471a8919a198c129c5 /Documentation/devicetree/bindings
parentbb70002cb7430252c6c8e3b19ad66957f253e667 (diff)
downloadlinux-aba06e922234c72ac7f98e838b336b20228c232b.tar.xz
serial: samsung: optimize UART rx fifo access routine
This patch optimizes UART rx fifo access routine by reading UART SFR when necessary. At first, the "fifocnt" variable will be initialized as Rx FIFO count. So we don't need to access UFSTAT(FIFO status) register every time to check FIFO count because we know that count with "fifocnt". After all data were read out from Rx FIFO, the "fifocnt" will be set as 0. Lastly, UFSTAT will be accessed again to check whether the data remains by any chance. Signed-off-by: Youngmin Nam <ym0914@gmail.com> Reviewed-by: Jung-Ick Guack <ji.guack@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
0 files changed, 0 insertions, 0 deletions