dma: pl330: add getposition() API
authorSeokju Yoon <sukju.yoon@samsung.com>
Mon, 15 Jun 2015 08:07:34 +0000 (17:07 +0900)
committerTaekki Kim <taekki.kim@samsung.com>
Mon, 14 May 2018 05:42:46 +0000 (14:42 +0900)
commitb8b9de67cb9bef7cf83d9e8d8f92ea60c3ec8147
tree7b74b7f41e0a2bc0357c6c83fb0700ce876a4b88
parent2f465f7c08737e3c4c25e01182254d9fa43056de
dma: pl330: add getposition() API

This patch adds a getposition() API to provide the current DMA buffer
position.

Change-Id: I8627e4c0d494701fe272fda55ac3e64792065074
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
drivers/dma/pl330.c
include/linux/amba/pl330.h [new file with mode: 0644]