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>
Thu, 7 Aug 2014 06:16:12 +0000 (15:16 +0900)
commit6d7645cd2e041092ecdef56bbb3cb9e4ba3f8fb1
treeb08cf746fc716443bb2ca9f67c4a5c0da2461828
parent29ab406be25f4e95f898f0a33a037c77a8c9f643
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