From: Clemens Ladisch Date: Fri, 16 Sep 2011 20:52:48 +0000 (+0200) Subject: ALSA: ymfpci: fix PCM open error handling X-Git-Tag: v3.2-rc1~127^2~2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84f9df159df6311f33ab16637772788cf3729ede;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed