diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-03-19 18:48:43 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-20 20:21:32 +0300 |
commit | 000c6af41775910007463d9a18f9e79fc0f9c8f4 (patch) | |
tree | a8fecdb68466948dc215fad3f204d093c063ede6 /drivers/spi/spi-pxa2xx.c | |
parent | 37821a82e6789eaaa81dd32a67edc3511ebfd5aa (diff) | |
download | linux-000c6af41775910007463d9a18f9e79fc0f9c8f4.tar.xz |
spi: pxa2xx: Debug print DMA burst size
It's useful during debug to see what DMA burst size is.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.c')
-rw-r--r-- | drivers/spi/spi-pxa2xx.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |