summaryrefslogtreecommitdiffstats
path: root/lib/devres.c
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2018-05-10 08:41:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-14 13:41:05 +0200
commitaa2f80e752c75e593b3820f42c416ed9458fa73e (patch)
tree8f2bebb6d17d2e10017e3304e1654ea478999825 /lib/devres.c
parenttty: serial: msm_serial: Add __maybe_unused to suspend/resume callbacks (diff)
downloadlinux-aa2f80e752c75e593b3820f42c416ed9458fa73e.tar.xz
linux-aa2f80e752c75e593b3820f42c416ed9458fa73e.zip
serial: samsung: fix maxburst parameter for DMA transactions
The best granularity of residue that DMA engine can report is in the BURST units, so the serial driver must use MAXBURST = 1 and DMA_SLAVE_BUSWIDTH_1_BYTE if it relies on exact number of bytes transferred by DMA engine. Fixes: 62c37eedb74c ("serial: samsung: add dma reqest/release functions") Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions