diff options
author | Padmavathi Venna <padma.v@samsung.com> | 2013-01-18 12:47:01 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-29 05:47:46 +0100 |
commit | 40476f61897933d524b7069a6df65629a469d922 (patch) | |
tree | f3f71ce0dc064b11b844a18b0bd36c7ad7747926 /sound/soc/samsung/dma.c | |
parent | ASoC: Samsung: Add I2S S/W RST in startup function (diff) | |
download | linux-40476f61897933d524b7069a6df65629a469d922.tar.xz linux-40476f61897933d524b7069a6df65629a469d922.zip |
ASoC: samsung: Add DT support for i2s
Add support for device based discovery.
Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/dma.c')
-rw-r--r-- | sound/soc/samsung/dma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/samsung/dma.c b/sound/soc/samsung/dma.c index db87628d7630..21b79262010e 100644 --- a/sound/soc/samsung/dma.c +++ b/sound/soc/samsung/dma.c @@ -174,7 +174,8 @@ static int dma_hw_params(struct snd_pcm_substream *substream, config.width = prtd->params->dma_size; config.fifo = prtd->params->dma_addr; prtd->params->ch = prtd->params->ops->request( - prtd->params->channel, &req); + prtd->params->channel, &req, rtd->cpu_dai->dev, + prtd->params->ch_name); prtd->params->ops->config(prtd->params->ch, &config); } |