summaryrefslogtreecommitdiff
path: root/include/linux/trace_clock.h
diff options
context:
space:
mode:
authorAbhishek Sahu <absahu@codeaurora.org>2018-03-12 18:44:57 +0530
committerWolfram Sang <wsa@the-dreams.de>2018-03-24 13:20:09 +0100
commit08f15963bc751bc818294c0f75a9aaca299c4052 (patch)
treef3aba4bdc2c882b5716c6c5728dce79b7f9bfc3f /include/linux/trace_clock.h
parent3f450d3eea14799b14192231840c1753a660f150 (diff)
downloadlinux-08f15963bc751bc818294c0f75a9aaca299c4052.tar.gz
linux-08f15963bc751bc818294c0f75a9aaca299c4052.tar.xz
i2c: qup: use the complete transfer length to choose DMA mode
Currently each message length in complete transfer is being checked for determining DMA mode and if any of the message length is less than FIFO length then non DMA mode is being used which will increase overhead. DMA can be used for any length and it should be determined with complete transfer length. Now, this patch selects DMA mode if the total length is greater than FIFO length. Signed-off-by: Abhishek Sahu <absahu@codeaurora.org> Reviewed-by: Austin Christ <austinwc@codeaurora.org> Reviewed-by: Andy Gross <andy.gross@linaro.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/trace_clock.h')
0 files changed, 0 insertions, 0 deletions