diff options
author | Huang Chao <chao7.huang@samsung.com> | 2014-06-13 12:36:49 +0800 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2014-06-17 01:49:26 -0700 |
commit | aa945d5a86cedd65f20255ddc0587f31318dda3e (patch) | |
tree | 23ecfeaa961b0ad19d460eb72cef1fc066e3ec4e | |
parent | cce3e4d22a457d9ff6053af9fd4a18a50dd36557 (diff) | |
download | linux-3.10-aa945d5a86cedd65f20255ddc0587f31318dda3e.tar.gz linux-3.10-aa945d5a86cedd65f20255ddc0587f31318dda3e.tar.bz2 linux-3.10-aa945d5a86cedd65f20255ddc0587f31318dda3e.zip |
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 <chao7.huang@samsung.com>
-rw-r--r-- | arch/arm/plat-samsung/include/plat/dma-ops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/dma-ops.h b/arch/arm/plat-samsung/include/plat/dma-ops.h index ce6d7634b6c..9e14fe001e2 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); |