diff options
| author | Macpaul Lin <[email protected]> | 2026-04-06 15:13:33 -0500 |
|---|---|---|
| committer | David Lechner <[email protected]> | 2026-04-28 13:11:19 -0500 |
| commit | 28bd63967784d1dbeff75289560e71fd1deac902 (patch) | |
| tree | 0118b7deeee9fbfc743402ac763495439ab97275 /scripts | |
| parent | 1cfcd7100d54b706b7d4ee17dd016b83e5eb88ff (diff) | |
spi: mtk_snor: fix zeroed data in DMA read bounce path
Implement proper bounce buffer handling for the read path to fix zeroed
data when using DMA. In the bounce path, map the bounce buffer with
dma_map_single(), perform DMA using bounce_dma, then copy data from the
bounce buffer to the user buffer, and finally unmap with
dma_unmap_single().
Signed-off-by: Macpaul Lin <[email protected]>
Reviewed-by: Julien Stephan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
