Added dma sync api to driver

Signed-off-by: Thommy Jakobsson <thommyj@gmail.com>