aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2017-11-04 20:20:09 +0000
committerWolfram Sang <[email protected]>2017-12-03 20:25:00 +0000
commitadbd77b589d0345cfc42f1ae0b3414e62a2bf866 (patch)
treed06e192b7c1a94926d4b8f79f515cabb37bbee1e /drivers/i2c/algos/i2c-algo-bit.c
parenti2c: sh_mobile: use core helper to decide when to use DMA (diff)
downloadkernel-adbd77b589d0345cfc42f1ae0b3414e62a2bf866.tar.gz
kernel-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 <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions