]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: samsung_tty: set dma burst_size to 1
authorChanho Park <chanho61.park@samsung.com>
Mon, 27 Jun 2022 06:51:13 +0000 (15:51 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Jul 2022 19:24:42 +0000 (21:24 +0200)
commit53e2698617a90463609fd148980477e139e7b6fa
treecabb85cf6e2bd32a571a0dc528cfb5d3e2311609
parent3b074cdd34a84d3be6b02c7047d6b3faebe0e9fd
tty: serial: samsung_tty: set dma burst_size to 1

commit 0ee48ce7f854d0d97053c2d3e2405f85ad15ed8a upstream.

The src_maxburst and dst_maxburst have been changed to 1 but the settings
of the UCON register aren't changed yet. They should be changed as well
according to the dmaengine slave config.

Fixes: ff0f6b2c4d96 ("serial: samsung: fix maxburst parameter for DMA transactions")
Cc: stable <stable@kernel.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Link: https://lore.kernel.org/r/20220627065113.139520-1-chanho61.park@samsung.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung_tty.c