]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: Add helper function to convert direction value to text
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 23 Dec 2019 11:04:46 +0000 (13:04 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 21 Jan 2020 05:36:12 +0000 (11:06 +0530)
commit127769407d40fab700658f9aa6ae93aea32eeb9f
tree452bc742be0c2e19ed2293066593ac191af175f4
parent1528c83c1e8de2f8a41667e1fc1e821dbfb7b241
dmaengine: Add helper function to convert direction value to text

dmaengine_get_direction_text() can be useful when the direction is printed
out. The text is easier to comprehend than the number.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20191223110458.30766-7-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/linux/dmaengine.h