Re: [PATCH 1/1] tty: serial: use dmaengine_desc_set_callback()

From: Geert Uytterhoeven

Date: Thu Nov 05 2026 - 04:13:24 EST


Hi Kezysztof,

On Wed, 4 Nov 2026 at 18:41, Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
> On 02/11/2026 18:54, Frank.Li@xxxxxxxxxxx wrote:
> > From: Frank Li <Frank.Li@xxxxxxx>
> >
> > Replace open-coded assignments to callback and callback_param fields
> > of struct dma_async_tx_descriptor with calls to the
> > dmaengine_desc_set_callback() helper across serial drivers.
> >
> > No functional change intended. Prepare to make struct
> > dma_async_tx_descriptor private to the DMA engine.
> >
> > Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
> > ---
> > drivers/tty/serial/8250/8250_dma.c | 6 ++----
> > drivers/tty/serial/8250/8250_mtk.c | 3 +--
> > drivers/tty/serial/8250/8250_omap.c | 6 ++----
> > drivers/tty/serial/amba-pl011.c | 6 ++----
> > drivers/tty/serial/atmel_serial.c | 6 ++----
> > drivers/tty/serial/fsl_lpuart.c | 6 ++----
> > drivers/tty/serial/imx.c | 6 ++----
> > drivers/tty/serial/msm_serial.c | 6 ++----
> > drivers/tty/serial/mxs-auart.c | 6 ++----
> > drivers/tty/serial/pch_uart.c | 6 ++----
> > drivers/tty/serial/samsung_tty.c | 6 ++----
> > drivers/tty/serial/serial-tegra.c | 6 ++----
> > drivers/tty/serial/sh-sci.c | 9 +++------
> > drivers/tty/serial/sprd_serial.c | 3 +--
> > drivers/tty/serial/stm32-usart.c | 6 ++----
> > 15 files changed, 29 insertions(+), 58 deletions(-)
>
> ...
> I did not look at this code at all...

[...]

> Therefore:
>
> Reviewed-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

Then please add "# samsung", to make it clear and obvious.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds