lkml.org 
[lkml]   [2023]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 2/5] spi: dw: Move "dw_spi_can_dma" function
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.

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2023-04-17 12:47    [W:0.056 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site