aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ste_dma40.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/ste_dma40.c')
-rw-r--r--drivers/dma/ste_dma40.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c
index fb79db3313d3..665541df5798 100644
--- a/drivers/dma/ste_dma40.c
+++ b/drivers/dma/ste_dma40.c
@@ -3219,8 +3219,9 @@ static struct d40_base * __init d40_hw_detect_init(struct platform_device *pdev)
3219 3219
3220 num_log_chans = num_phy_chans * D40_MAX_LOG_CHAN_PER_PHY; 3220 num_log_chans = num_phy_chans * D40_MAX_LOG_CHAN_PER_PHY;
3221 3221
3222 dev_info(&pdev->dev, "hardware revision: %d @ 0x%x with %d physical channels\n", 3222 dev_info(&pdev->dev,
3223 rev, res->start, num_phy_chans); 3223 "hardware rev: %d @ 0x%x with %d physical and %d logical channels\n",
3224 rev, res->start, num_phy_chans, num_log_chans);
3224 3225
3225 base = kzalloc(ALIGN(sizeof(struct d40_base), 4) + 3226 base = kzalloc(ALIGN(sizeof(struct d40_base), 4) +
3226 (num_phy_chans + num_log_chans + ARRAY_SIZE(dma40_memcpy_channels)) * 3227 (num_phy_chans + num_log_chans + ARRAY_SIZE(dma40_memcpy_channels)) *