ALSA: snd-aloop: Fix hw_params restrictions and checking
authorJaroslav Kysela <perex@perex.cz>
Mon, 11 Oct 2010 08:45:00 +0000 (10:45 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 11 Oct 2010 08:56:09 +0000 (10:56 +0200)
commitb1c73fc8e697eb73e23603e465e9af2711ed4183
treed722242804e59072f9acb25993606e50a7681147
parentac446fb7e690b317050ed158ba5dfd9273dc9e74
ALSA: snd-aloop: Fix hw_params restrictions and checking

This patch fixes the hw_params restrictions when first (or playback) stream
sets the final hardware parameters. Also, fix the hw_params checking
in the trigger callback.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/drivers/aloop.c