sound/soc/sh/siu: Fixed undefined dma_length of scatter gather list
authorMarkus Pietrek <markus.pietrek@emtrion.de>
Wed, 4 Aug 2010 06:59:50 +0000 (15:59 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 4 Aug 2010 06:59:50 +0000 (15:59 +0900)
commit7b42176a2969bc913cd2949e7edd935466745b11
treeb1c09184abdce6a3da8278a20f6e33933a655091
parente9a4c4a1a1ad0ac50a4f6db870f8215272aebca0
sound/soc/sh/siu: Fixed undefined dma_length of scatter gather list

Without this patch, an undefined/random sg->dma_length is used and
the sound will be played/captured wrongly.

Signed-off-by: Markus Pietrek <markus.pietrek@emtrion.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
sound/soc/sh/siu_pcm.c