summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-generic.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2015-09-04 17:52:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 19:43:06 +0200
commit184bd70bbc81ff0aa561eb51914c952225e42aab (patch)
tree068cd5ab4af05f2933e2c92815141c74012aa411 /drivers/rtc/rtc-generic.c
parentserial: imx: always restart DMA if more data is available (diff)
downloadlinux-184bd70bbc81ff0aa561eb51914c952225e42aab.tar.xz
linux-184bd70bbc81ff0aa561eb51914c952225e42aab.zip
serial: imx: configure proper DMA burst sizes
Triggering the DMA engine for every byte is horribly inefficient. Also it doesn't allow to use the aging timer for the RX FIFO as this requires the DMA engine to leave one byte remaining in the FIFO when doing a normal burst transfer. Adjust watermark levels so that the DMA engine can do at least 8 byte burst transfers. This is a conservative value, as the both TX and RX FIFOs are able to contain 32 bytes. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Acked-by: Jiada Wang <jiada_wang@mentor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc/rtc-generic.c')
0 files changed, 0 insertions, 0 deletions