From: Hans-Christian Egtvedt Date: Thu, 2 Apr 2009 06:21:13 +0000 (+0200) Subject: ALSA: snd-atmel-ac97c: set correct size for buffer hardware parameter X-Git-Tag: v2.6.30-rc1~9^2~4^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c42eec0f193ed408118e20d85ea8c2e69c529993;p=pandora-kernel.git ALSA: snd-atmel-ac97c: set correct size for buffer hardware parameter This patch will set a proper maximum bytes for the buffer, which is: channels * bytes per sample * maximum periods * maximum bytes per period. It also sets the minimum periods to 6, a value chosen from testing, with a minimum of 6 periods the system has good time to fill in new audio data without skipping. Signed-off-by: Hans-Christian Egtvedt Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed