diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2017-11-04 21:20:08 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-12-03 21:24:59 +0100 |
commit | fe23aa9a1670b8800b251fc0400425e765c81880 (patch) | |
tree | e68be308be2431de60051bfcfdc09ae82983ea39 /drivers/i2c/busses/i2c-rcar.c | |
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>
Diffstat (limited to 'drivers/i2c/busses/i2c-rcar.c')
0 files changed, 0 insertions, 0 deletions