Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);