diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2017-11-04 21:20:06 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-12-03 21:24:52 +0100 |
commit | 8a77821e74d6d5ba2eacd4b450684ae6cbe012a0 (patch) | |
tree | e031cea44e187adad246ed430beedf519f6ce702 /Documentation/i2c | |
parent | i2c: add i2c_master_{send|recv}_dmasafe (diff) | |
download | linux-8a77821e74d6d5ba2eacd4b450684ae6cbe012a0.tar.xz linux-8a77821e74d6d5ba2eacd4b450684ae6cbe012a0.zip |
i2c: smbus: use DMA safe buffers for emulated SMBus transactions
For all block commands, try to allocate a DMA safe buffer and mark it
accordingly. Only use the stack, if the buffers cannot be allocated.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation/i2c')
0 files changed, 0 insertions, 0 deletions