From: Takashi Iwai Date: Fri, 5 Jun 2009 14:12:16 +0000 (+0200) Subject: ALSA: ctxfi - Set periods_min to 2 X-Git-Tag: v2.6.31-rc1~38^2~4^2~19 X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=commitdiff_plain;h=775ffa1d3e5a550dd2c9d947d773021c61531b36 ALSA: ctxfi - Set periods_min to 2 Set 2 to minimal periods of playback pcm setups, too. Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/ctxfi/ctpcm.c b/sound/pci/ctxfi/ctpcm.c index 32b742d..a0bd31c 100644 --- a/sound/pci/ctxfi/ctpcm.c +++ b/sound/pci/ctxfi/ctpcm.c @@ -40,7 +40,7 @@ static struct snd_pcm_hardware ct_pcm_playback_hw = { .buffer_bytes_max = (128*1024), .period_bytes_min = (64), .period_bytes_max = (128*1024), - .periods_min = 1, + .periods_min = 2, .periods_max = 1024, .fifo_size = 0, }; @@ -62,7 +62,7 @@ static struct snd_pcm_hardware ct_spdif_passthru_playback_hw = { .buffer_bytes_max = (128*1024), .period_bytes_min = (64), .period_bytes_max = (128*1024), - .periods_min = 1, + .periods_min = 2, .periods_max = 1024, .fifo_size = 0, };