]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit61f5f6b96ec00d0d8a518d07254b77f92da70e32
treea06cc07d9af3d56f384ab9f1f31dcd12707d37d9
parent13b6ac507ead3672a825d08b5af9dd0b8e84fef4
[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