On Thu, Jun 9, 2011 at 8:31 PM, Jassi Brar wrote:
case 2:
+ if (substream-stream == SNDRV_PCM_STREAM_PLAYBACK)
+ i2s-dma_playback.dma_size = 4;
+ else
+ i2s-dma_capture.dma_size = 4;
+ break;
On Thu, Jun 9, 2011 at 1:39 PM, Sangbeom Kim sbki...@samsung.com wrote:
case 2:
+ if (substream-stream == SNDRV_PCM_STREAM_PLAYBACK)
+ i2s-dma_playback.dma_size = 4;
+ else
+ i2s-dma_capture.dma_size = 4;
+
Previously, I2S driver only can support system dma.
In this patch, i2s driver can support internal dma too.
To share register definition, register definition is moved
to i2s.h and added some register to support idma.
Signed-off-by: Sangbeom Kim sbki...@samsung.com
---
sound/soc/samsung/i2s.c |