diff options
| author | Hans de Goede <johannes.goede@oss.qualcomm.com> | 2026-09-19 21:36:41 +0200 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2026-10-13 00:56:18 +0200 |
| commit | 09753024bbd330b31ec5510fe22a248fd94d5b53 (patch) | |
| tree | c2bd6088b3ccf4ea64e83b58ef018a0bf774f899 /tools/lib/python | |
| parent | fe87113a9ad03d19a7631139ad00e456a6f050e4 (diff) | |
| download | linux-next-09753024bbd330b31ec5510fe22a248fd94d5b53.tar.gz linux-next-09753024bbd330b31ec5510fe22a248fd94d5b53.zip | |
i2c: acpi: Use I2C_M_DMA_SAFE in acpi_gsb_i2c_[read|write]_bytes()
The main read / write "buffer" is kzalloc()ed and as such is safe to
directly use for DMA (unlike stack mem). Add the I2C_M_DMA_SAFE flag
to the transfers using these buffers.
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Acked-by: Mika Westerberg <westeri@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://patch.msgid.link/20260919193642.43058-1-johannes.goede@oss.qualcomm.com
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
