ASoC: samsung: dma: Replace the private pcm operations with the generic ones
authorHuang Chao <chao7.huang@samsung.com>
Tue, 1 Jul 2014 01:41:12 +0000 (09:41 +0800)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:59:56 +0000 (11:59 +0900)
commit2a0d7115a463f3313fd242764e43e512a60c4b75
treeee5321660075a744089e82e0bb53df52927a519e
parent1c74909a02676d1c8049d460337f136a520ba45f
ASoC: samsung: dma: Replace the private pcm operations with the generic ones

This patch reshapes the whole samsung platform driver which is composed by
samsung private dmaengine pcm operations, replacing them with the generic
asoc dmaengine pcm operations implemented by alsa soc subsystem.

The dma channel is requested in open callback, and will be released when
the pcm stream is closed. And the pcm trigger operations are also changed
to the asoc generic dmaengine based pcm trigger implementation.

Change-Id: Ib70b973720e5d57a40c7d583b74c11b971b4776c
Signed-off-by: Huang Chao <chao7.huang@samsung.com>
sound/soc/samsung/dma.c