summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2017-11-04 23:20:08 +0300
committerWolfram Sang <wsa@the-dreams.de>2017-12-03 23:24:59 +0300
commitfe23aa9a1670b8800b251fc0400425e765c81880 (patch)
treee68be308be2431de60051bfcfdc09ae82983ea39 /include/linux
parentd4e01186ae1c6045b5a508741f2446dffec7511c (diff)
downloadlinux-fe23aa9a1670b8800b251fc0400425e765c81880.tar.xz
i2c: sh_mobile: use core helper to decide when to use DMA
This ensures that we fall back to PIO if the message length is too small for DMA being useful. Otherwise, we use DMA. A bounce buffer might be applied by the helper if the original message buffer is not DMA safe. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions