Commit 36bf8fc4 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Vinod Koul

dmaengine: acpi-dma: align debug message with flow

In acpi_dma_request_slave_chan_by_name() the debug message is printed before
the actual matching happens. Correct the message itself to be in align with the
flow.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent a02eb37a
...@@ -438,7 +438,7 @@ struct dma_chan *acpi_dma_request_slave_chan_by_name(struct device *dev, ...@@ -438,7 +438,7 @@ struct dma_chan *acpi_dma_request_slave_chan_by_name(struct device *dev,
return ERR_PTR(-ENODEV); return ERR_PTR(-ENODEV);
} }
dev_dbg(dev, "found DMA channel \"%s\" at index %d\n", name, index); dev_dbg(dev, "Looking for DMA channel \"%s\" at index %d...\n", name, index);
return acpi_dma_request_slave_chan_by_index(dev, index); return acpi_dma_request_slave_chan_by_index(dev, index);
} }
EXPORT_SYMBOL_GPL(acpi_dma_request_slave_chan_by_name); EXPORT_SYMBOL_GPL(acpi_dma_request_slave_chan_by_name);
......
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