Thread (10 messages) 10 messages, 4 authors, 2018-08-09

[PATCH v2 2/3] i2c: Add helper to ease DMA handling

From: Wolfram Sang <hidden>
Date: 2018-08-08 20:57:57
Also in: linux-devicetree, linux-i2c, linux-mediatek, lkml

On Sat, Jul 07, 2018 at 05:29:54PM +0800, Jun Gao wrote:
From: Jun Gao <redacted>

This function is needed by i2c_get_dma_safe_msg_buf() potentially.
It is used to free DMA safe buffer when DMA operation fails.

Signed-off-by: Jun Gao <redacted>
Right, we need something like this. This leaks in the sh_mobile driver,
too :(

I am still thinking if there is a nice way to put this functionality
into i2c_release_dma_safe_msg_buf() itself somehow...

Thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180808/3819ae01/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help