From: Takashi Sakamoto Date: Fri, 28 Nov 2014 15:59:18 +0000 (+0900) Subject: ALSA: dice: Add new functions for constraints of PCM parameters X-Git-Tag: omap-for-v3.20/drop-legacy-3517~123^2~21^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c2416c83e7345fc51af49132c40ec7d337d4132;p=pandora-kernel.git ALSA: dice: Add new functions for constraints of PCM parameters This commit adds a new functions and some arrangement for PCM restriction. This arrangement is due to the number of channels which each Dice device has. I note that minimum number for period becomes 2, instead of 1 because its PCM functionality has SNDRV_PCM_INFO_BATCH, this means that the driver uses double (or more) buffering so the minimum number for period should be 2. Signed-off-by: Takashi Sakamoto Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed