Re: [PATCH v6 2/5] spi: dw: Move "dw_spi_can_dma" function

From: Joy Chakraborty
Date: Mon Apr 17 2023 - 08:12:21 EST


On Mon, Apr 17, 2023 at 4:13 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxx> wrote:
>
> On Fri, Apr 14, 2023 at 12:05:17PM +0000, Joy Chakraborty wrote:
> > Move "dw_spi_can_dma" function implementation below
> > "dw_spi_dma_convert_width" function for handing compile dependency in
> > future patches.
>
> We refer to the functions like func().
>
> ...
>
> > +static bool dw_spi_can_dma(struct spi_controller *master,
> > + struct spi_device *spi, struct spi_transfer *xfer)
> > +{
> > + struct dw_spi *dws = spi_controller_get_devdata(master);
> > +
> > + return xfer->len > dws->fifo_len;
> > +}
>
> > +
> > +
>
> Single blank line is enough.

Sure,I will make these changes and send V7.
Will wait for some time to see if Serge(y) has any other comments on
the patch series.

>
> --
> With Best Regards,
> Andy Shevchenko
>
>