diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2017-11-04 21:20:09 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-12-03 21:25:00 +0100 |
commit | adbd77b589d0345cfc42f1ae0b3414e62a2bf866 (patch) | |
tree | d06e192b7c1a94926d4b8f79f515cabb37bbee1e /lib/locking-selftest-spin-hardirq.h | |
parent | i2c: sh_mobile: use core helper to decide when to use DMA (diff) | |
download | linux-adbd77b589d0345cfc42f1ae0b3414e62a2bf866.tar.xz linux-adbd77b589d0345cfc42f1ae0b3414e62a2bf866.zip |
i2c: rcar: skip DMA if buffer is not safe
This HW is prone to races, so it needs to setup new messages in irq
context. That means we can't alloc bounce buffers if a message buffer is
not DMA safe. So, in that case, simply fall back to PIO.
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 'lib/locking-selftest-spin-hardirq.h')
0 files changed, 0 insertions, 0 deletions