summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/serial-tegra.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2024-04-05 08:08:22 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-09 15:28:03 +0200
commitf8fef2fa419febbfed2d04f0518111565df2673d (patch)
treed3cff979b5fa693eaef08965e6681d0b1ca76b56 /drivers/tty/serial/serial-tegra.c
parent9054605ab8468936a514298211d9e9bb68bf24bd (diff)
downloadlinux-f8fef2fa419febbfed2d04f0518111565df2673d.tar.gz
linux-f8fef2fa419febbfed2d04f0518111565df2673d.tar.bz2
linux-f8fef2fa419febbfed2d04f0518111565df2673d.zip
tty: msm_serial: use dmaengine_prep_slave_sg()
This is a preparatory for the serial-to-kfifo switch. kfifo understands only scatter-gatter approach, so switch to that. No functional change intended, it's just dmaengine_prep_slave_single() inline expanded. And in this case, switch from dma_map_single() to dma_map_sg() too. This needs struct msm_dma changes. I split the rx and tx parts into an union. TX is now struct scatterlist, RX remains the old good phys-virt-count triple. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Cc: Bjorn Andersson <andersson@kernel.org> Cc: Konrad Dybcio <konrad.dybcio@linaro.org> Cc: linux-arm-msm@vger.kernel.org Link: https://lore.kernel.org/r/20240405060826.2521-12-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/serial-tegra.c')
0 files changed, 0 insertions, 0 deletions