ASoC: blackfin: use samples to set silence
authorScott Jiang <scott.jiang.linux@gmail.com>
Fri, 18 Jul 2014 08:14:57 +0000 (16:14 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 17 Jul 2014 11:27:56 +0000 (12:27 +0100)
commit30443408fd7201fd1911b09daccf92fae3cc700d
tree9bb07d0e83eb87a0739eef275dedff0548c7667e
parent7171511eaec5bf23fb06078f59784a3a0626b38f
ASoC: blackfin: use samples to set silence

The third parameter for snd_pcm_format_set_silence needs the number
of samples instead of sample bytes.

Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
sound/soc/blackfin/bf5xx-i2s-pcm.c