From: Andy Shevchenko Date: Tue, 19 Mar 2019 15:48:43 +0000 (+0200) Subject: spi: pxa2xx: Debug print DMA burst size X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=000c6af41775910007463d9a18f9e79fc0f9c8f4;p=openwrt%2Fstaging%2Fblogic.git spi: pxa2xx: Debug print DMA burst size It's useful during debug to see what DMA burst size is. Signed-off-by: Andy Shevchenko Tested-by: Jarkko Nikula Reviewed-by: Jarkko Nikula Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c index 461c6b796b8f..f008836f7e27 100644 --- a/drivers/spi/spi-pxa2xx.c +++ b/drivers/spi/spi-pxa2xx.c @@ -1333,6 +1333,9 @@ static int setup(struct spi_device *spi) dev_warn(&spi->dev, "in setup: DMA burst size reduced to match bits_per_word\n"); } + dev_dbg(&spi->dev, + "in setup: DMA burst size set to %u\n", + chip->dma_burst_size); } switch (drv_data->ssp_type) {