RE: [alsa-devel] [PATCH 1/4] ASoC: SAMSUNG: Modify I2S driver to support idma

2011-06-13 Thread Sangbeom Kim
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;

Re: [PATCH 1/4] ASoC: SAMSUNG: Modify I2S driver to support idma

2011-06-10 Thread Jassi Brar
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; +      

[PATCH 1/4] ASoC: SAMSUNG: Modify I2S driver to support idma

2011-06-09 Thread Sangbeom Kim
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 |