diff options
Diffstat (limited to 'sound/pci/ice1712/ice1712.c')
-rw-r--r-- | sound/pci/ice1712/ice1712.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c index 597533490f2d..65251911cf6f 100644 --- a/sound/pci/ice1712/ice1712.c +++ b/sound/pci/ice1712/ice1712.c | |||
@@ -620,10 +620,9 @@ static int snd_ice1712_playback_ds_prepare(struct snd_pcm_substream *substream) | |||
620 | { | 620 | { |
621 | struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); | 621 | struct snd_ice1712 *ice = snd_pcm_substream_chip(substream); |
622 | struct snd_pcm_runtime *runtime = substream->runtime; | 622 | struct snd_pcm_runtime *runtime = substream->runtime; |
623 | u32 period_size, buf_size, rate, tmp, chn; | 623 | u32 period_size, rate, tmp, chn; |
624 | 624 | ||
625 | period_size = snd_pcm_lib_period_bytes(substream) - 1; | 625 | period_size = snd_pcm_lib_period_bytes(substream) - 1; |
626 | buf_size = snd_pcm_lib_buffer_bytes(substream) - 1; | ||
627 | tmp = 0x0064; | 626 | tmp = 0x0064; |
628 | if (snd_pcm_format_width(runtime->format) == 16) | 627 | if (snd_pcm_format_width(runtime->format) == 16) |
629 | tmp &= ~0x04; | 628 | tmp &= ~0x04; |