Commit 000c6af4 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Mark Brown

spi: pxa2xx: Debug print DMA burst size

It's useful during debug to see what DMA burst size is.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 37821a82
...@@ -1333,6 +1333,9 @@ static int setup(struct spi_device *spi) ...@@ -1333,6 +1333,9 @@ static int setup(struct spi_device *spi)
dev_warn(&spi->dev, dev_warn(&spi->dev,
"in setup: DMA burst size reduced to match bits_per_word\n"); "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) { switch (drv_data->ssp_type) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment