Message ID | 20190226092441.49198-3-andriy.shevchenko@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v1,1/3] dt-bindings: Add dma-burst-sz property for spi-pxa2xx | expand |
diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c index 393e020c757a..534460a29432 100644 --- a/drivers/spi/spi-pxa2xx.c +++ b/drivers/spi/spi-pxa2xx.c @@ -1339,6 +1339,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 and threshold set to %u, %u\n", + chip->dma_burst_size, chip->dma_threshold); } switch (drv_data->ssp_type) {
It's useful during debug to see what DMA burst and threshold sizes are. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> --- drivers/spi/spi-pxa2xx.c | 3 +++ 1 file changed, 3 insertions(+)