diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-09-07 10:30:43 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-09-07 10:30:43 +1000 |
commit | 7d874a82ba3d2f4f9d65fc8fc47ae735449556e0 (patch) | |
tree | fe152f0e5a327bfdc01f6577d96faa3a8201dc6f /sound | |
parent | 09fa47e2a73deaf29a21a9c58cbfa95392db66f2 (diff) | |
parent | b9afa3e015273a52718e0a7efe198a0df76be880 (diff) |
Merge remote branch 'sh/master'
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/sh/siu_pcm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sh/siu_pcm.c b/sound/soc/sh/siu_pcm.c index 36170be15aa7..b0ccd0b862fc 100644 --- a/sound/soc/sh/siu_pcm.c +++ b/sound/soc/sh/siu_pcm.c @@ -127,6 +127,7 @@ static int siu_pcm_wr_set(struct siu_port *port_info, sg_init_table(&sg, 1); sg_set_page(&sg, pfn_to_page(PFN_DOWN(buff)), size, offset_in_page(buff)); + sg_dma_len(&sg) = size; sg_dma_address(&sg) = buff; desc = siu_stream->chan->device->device_prep_slave_sg(siu_stream->chan, @@ -176,6 +177,7 @@ static int siu_pcm_rd_set(struct siu_port *port_info, sg_init_table(&sg, 1); sg_set_page(&sg, pfn_to_page(PFN_DOWN(buff)), size, offset_in_page(buff)); + sg_dma_len(&sg) = size; sg_dma_address(&sg) = buff; desc = siu_stream->chan->device->device_prep_slave_sg(siu_stream->chan, |