]> git.ipfire.org Git - thirdparty/kernel/stable.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:40:32 +0000 (20:40 +0200)
commitb0b882a42380bd4e55e16c618823c97fbd750c40
treea4bda9b49520259743de6258ca8db5d1c9f93e0d
parentad2f765bd451e5e77bdb8f649077c28dc563cc25
tty: serial: samsung_tty: set dma burst_size to 1

commit f7e35e4bf1e8dc2c8cbd5e0955dc1bd58558dae0 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: aa2f80e752c7 ("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