diff options
| author | Clément Le Goffic <[email protected]> | 2025-07-04 08:39:16 +0000 |
|---|---|---|
| committer | Andi Shyti <[email protected]> | 2025-07-29 22:30:43 +0000 |
| commit | ffdd20555cc6fcb15e8a57d442c458034d169c7b (patch) | |
| tree | c04761c6e8f70792608043dfc930bace83d380d6 /rust/helpers/vmalloc.c | |
| parent | Merge tag 'i2c-for-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
| download | kernel-ffdd20555cc6fcb15e8a57d442c458034d169c7b.tar.gz kernel-ffdd20555cc6fcb15e8a57d442c458034d169c7b.zip | |
i2c: stm32f7: support i2c_*_dma_safe_msg_buf APIs
`i2c_*_dma_safe_msg_buf` APIs operate on a `struct i2c_msg`.
The get operation make sure the I2C buffer is DMA'able according to its
buffer length, or if the memory use is DMA coherent for example and
return a valid pointer for safe DMA access to be used.
The put operation release the pointer.
Prefer using generic API's than relying on private tests.
Acked-by: Alain Volmat <[email protected]>
Signed-off-by: Clément Le Goffic <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
