aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_dynamic_debug.c
diff options
context:
space:
mode:
authorJaewon Kim <jaewon02.kim@samsung.com>2023-05-10 20:39:42 +0900
committerMark Brown <broonie@kernel.org>2023-05-11 10:30:43 +0900
commit26cd10a0b9761bffd4669a429f8a33cbccef5bbd (patch)
tree6136a34273438a7afc291fc0ffeda0d27dc046ac /lib/test_dynamic_debug.c
parentspi: dw: DW SPI DMA Driver updates (diff)
downloadlinux-rng-26cd10a0b9761bffd4669a429f8a33cbccef5bbd.tar.xz
linux-rng-26cd10a0b9761bffd4669a429f8a33cbccef5bbd.zip
spi: s3c64xx: Disable IRQ mode when using DMA
Fixing the problem of enabling DMA mode and IRQ mode at the same time. In this case, a value of more than 6bits is written to RDY_LVL, it can cause an invasion of other registers, potentially leading to SPI transfer failure. Fixes: 1ee806718d5e ("spi: s3c64xx: support interrupt based pio mode") Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com Reported-by: Marek Szyprowski <m.szyprowski@samsung.com Tested-by: Marek Szyprowski <m.szyprowski@samsung.com Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org Link: https://lore.kernel.org/r/20230510113942.89994-1-jaewon02.kim@samsung.com Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'lib/test_dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions