diff options
author | Ikjoon Jang <ikjn@chromium.org> | 2020-10-06 15:54:03 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-10-06 15:53:45 +0100 |
commit | a1daaa991ed1f13b86f6d9df174f21c4e23d33ba (patch) | |
tree | 8323fe5b0739f3ee59497c92040e296005adad2f /lib/test_ubsan.c | |
parent | 9935b612a5dba99cf8dc0f9fe7592a2a35c005fb (diff) |
spi: spi-mtk-nor: use dma_alloc_coherent() for bounce buffer
Use dma_alloc_coherent() for bounce buffer instead of kmalloc() to
make sure the bounce buffer to be allocated within its DMAable range.
Signed-off-by: Ikjoon Jang <ikjn@chromium.org>
Link: https://lore.kernel.org/r/20201006155010.v5.2.I06cb65401ab5ad63ea30c4788d26633928d80f38@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/test_ubsan.c')
0 files changed, 0 insertions, 0 deletions