Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316658
b: refs/heads/master
c: 6f3de8b
h: refs/heads/master
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Vinod Koul committed Jul 13, 2012
1 parent 50cd283 commit a413534
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d6fa5a4e7ab605370fd6c982782f84ef2e6660e7
refs/heads/master: 6f3de8bf33902a91b83744c76fea7de3cd0328cc
8 changes: 4 additions & 4 deletions trunk/sound/soc/sh/siu_pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,12 +330,12 @@ static bool filter(struct dma_chan *chan, void *slave)
{
struct sh_dmae_slave *param = slave;

pr_debug("%s: slave ID %d\n", __func__, param->slave_id);
pr_debug("%s: slave ID %d\n", __func__, param->shdma_slave.slave_id);

if (unlikely(param->dma_dev != chan->device->dev))
return false;

chan->private = param;
chan->private = &param->shdma_slave;
return true;
}

Expand All @@ -360,12 +360,12 @@ static int siu_pcm_open(struct snd_pcm_substream *ss)
if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) {
siu_stream = &port_info->playback;
param = &siu_stream->param;
param->slave_id = port ? pdata->dma_slave_tx_b :
param->shdma_slave.slave_id = port ? pdata->dma_slave_tx_b :
pdata->dma_slave_tx_a;
} else {
siu_stream = &port_info->capture;
param = &siu_stream->param;
param->slave_id = port ? pdata->dma_slave_rx_b :
param->shdma_slave.slave_id = port ? pdata->dma_slave_rx_b :
pdata->dma_slave_rx_a;
}

Expand Down

0 comments on commit a413534

Please sign in to comment.