[ALSA] add number of periods constraint to snd-aoa
authorHeikki Lindholm <holindho@cs.helsinki.fi>
Fri, 23 Nov 2007 14:37:48 +0000 (15:37 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:28 +0000 (17:29 +0100)
commitdf86d1149f4b7b77158755b85b85f94e7bade32f
treea06cc07d9af3d56f384ab9f1f31dcd12707d37d9
parent7c7fc2d44b7a660846115e65b67772b6742a14d8
[ALSA] add number of periods constraint to snd-aoa

The aoa driver is not specifying constraints on number of periods, and, it
seems, it might end with a non-integer number, which it cannot deal with.
Fix by adding a proper constraint.

Signed-off-by: Heikki Lindholm <holindho@cs.helsinki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/aoa/soundbus/i2sbus/i2sbus-pcm.c