summaryrefslogtreecommitdiff
path: root/sound/core/pcm_lib.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2011-09-17 00:52:48 +0400
committerTakashi Iwai <tiwai@suse.de>2011-09-20 10:56:34 +0400
commit84f9df159df6311f33ab16637772788cf3729ede (patch)
tree0f852edbeb2fe8d9a34dfc068f76ad672b4e53ac /sound/core/pcm_lib.c
parent14515a08294644b0ca557b440b8ddde9e7d65ede (diff)
downloadlinux-84f9df159df6311f33ab16637772788cf3729ede.tar.xz
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>
Diffstat (limited to 'sound/core/pcm_lib.c')
0 files changed, 0 insertions, 0 deletions