From: Ben Dooks <ben.dooks@xxxxxxxxxx> It is useful to know the driver probed, so print some basic info when it does, such as the spi bus name, irq, etc. Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxx> Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx> --- drivers/spi/spi-dw-core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/spi/spi-dw-core.c b/drivers/spi/spi-dw-core.c index 071a7604a8ab..8e8a0d063519 100644 --- a/drivers/spi/spi-dw-core.c +++ b/drivers/spi/spi-dw-core.c @@ -958,6 +958,9 @@ int dw_spi_add_host(struct device *dev, struct dw_spi *dws) goto err_dma_exit; } + dev_info(dev, "%s: irq %d, %d fifo, max freq %u", + dev_name(&master->dev), dws->irq, dws->fifo_len, + dws->max_freq); dw_spi_debugfs_init(dws); return 0; -- 2.39.2