diff options
author | Jaewon Kim <jaewon02.kim@samsung.com> | 2024-03-29 17:58:40 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-03-29 13:48:15 +0000 |
commit | a3d3eab627bbbb0cb175910cf8d0f7022628a642 (patch) | |
tree | bf7083e7cafa45de3cb6f89f08e8ab528ff8df4a /net/unix/unix_bpf.c | |
parent | 4cece764965020c22cff7665b18a012006359095 (diff) |
spi: s3c64xx: Use DMA mode from fifo size
If the SPI data size is smaller than FIFO, it operates in PIO mode,
and if it is larger than FIFO size, it oerates in DMA mode.
If the SPI data size is equal to fifo, it operates in PIO mode and it is
separated to 2 transfers. To prevent it, it must operate in DMA mode
from the case where the data size and the fifo size are the same.
Fixes: 1ee806718d5e ("spi: s3c64xx: support interrupt based pio mode")
Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Link: https://lore.kernel.org/r/20240329085840.65856-1-jaewon02.kim@samsung.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions