]> err.no Git - linux-2.6/commit
[ALSA] at73c213: Add constraints for periods value
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 17 Mar 2008 13:36:24 +0000 (14:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:26 +0000 (12:00 +0200)
commitf5e09ef0985ff01af6b4a12954840467f153a41c
tree81e8db50126018fe3fefd4a11d2e166aca48138d
parentb32300a4ce78b4df92f33c455ffe644b36f0ff1a
[ALSA] at73c213: Add constraints for periods value

The interrupt handler always provide runtime->period_size data, so it
works correctly only if buffer_size was a multiple of period_size.

This patch fixes periodic click noise.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/spi/at73c213.c