]> 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)
commit93b0f3eb063b177ef4410dab59496d57837b2e4f
tree452bc742be0c2e19ed2293066593ac191af175f4
parent8bc438300b5e3f2117a9f5e00f8c64f2476e4ac8
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