]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - include/linux/dmaengine.h
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)
commit816ebf48442eef1c61db26d2ec055f5c8ac83b21
tree452bc742be0c2e19ed2293066593ac191af175f4
parent6755ec06d1333765d2b935e4e4a5bd011332bac6
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