From 1157eeffbc897ac7751a24aca0e5f9ea33948b3d Mon Sep 17 00:00:00 2001 From: Huang Chao Date: Fri, 13 Jun 2014 12:36:49 +0800 Subject: [PATCH] ASoC: samsung: dma: Define audio pause/resume callback operations When this set of dma operations get called from audio platform driver, and users want to set the audio pcm stream to pause or resume state when playback music, there should be the related pause and release callback operations for such requirements. Change-Id: Id872285c0c4bc0c5cc537aad0622b1b6d697f049 Signed-off-by: Huang Chao --- arch/arm/plat-samsung/include/plat/dma-ops.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/plat-samsung/include/plat/dma-ops.h b/arch/arm/plat-samsung/include/plat/dma-ops.h index ce6d763..9e14fe0 100644 --- a/arch/arm/plat-samsung/include/plat/dma-ops.h +++ b/arch/arm/plat-samsung/include/plat/dma-ops.h @@ -47,6 +47,8 @@ struct samsung_dma_ops { int (*started)(unsigned ch); int (*flush)(unsigned ch); int (*stop)(unsigned ch); + int (*pause)(unsigned ch); + int (*resume)(unsigned ch); }; extern void *samsung_dmadev_get_ops(void); -- 2.7.4