commit | 84f9df159df6311f33ab16637772788cf3729ede | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Fri Sep 16 22:52:48 2011 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Sep 20 08:56:34 2011 +0200 |
tree | 0f852edbeb2fe8d9a34dfc068f76ad672b4e53ac | |
parent | 14515a08294644b0ca557b440b8ddde9e7d65ede [diff] |
ALSA: ymfpci: fix PCM open error handling The installation of the minimum period size constraint in the PCM open callbacks was not checked for errors. Add this check, and move the call to the beginning of the function to avoid having to do any cleanups in the error case. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>