commit | fe23aa9a1670b8800b251fc0400425e765c81880 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Sat Nov 04 21:20:08 2017 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Sun Dec 03 21:24:59 2017 +0100 |
tree | e68be308be2431de60051bfcfdc09ae82983ea39 | |
parent | d4e01186ae1c6045b5a508741f2446dffec7511c [diff] |
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>