]> 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 18:59:28 +0000 (20:59 +0200)
commitec7d997876f121ea3e86adcba087e1ebc15947aa
tree8a526515ffbbfa0d7ec608c584c70af2c2e285f7
parent59e6792ebe001ff24143f1e050bc939dcc7327c3
tty: serial: samsung_tty: set dma burst_size to 1

commit d0d3ae202613aab5791a1e26d0c73b1323412519 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: 58d9c570ad66 ("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.c