summaryrefslogtreecommitdiffstats
path: root/lib/div64.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-23 14:34:42 +0100
committerTakashi Iwai <tiwai@suse.de>2015-01-28 07:20:53 +0100
commit5343ecf4e5c94aecdd6a859b76c125c3544865d1 (patch)
tree65b7e343e00c4cca5e5ecce0a0d7deffd9c62368 /lib/div64.c
parent6aa7f8ef293f27215f685b2f94e980c7f3a337d5 (diff)
downloadlinux-5343ecf4e5c94aecdd6a859b76c125c3544865d1.tar.bz2
ALSA: line6: Fix the error recovery in line6_pcm_acquire()
line6_pcm_acquire() tries to restore the newly obtained resources at the error path. But some flags aren't recorded and released properly when the corresponding buffer is already present. These bits have to be cleared in the error recovery, too. Also, "flags_final" can be initialized to zero since we pass only the subset of "channels" bits. Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/div64.c')
0 files changed, 0 insertions, 0 deletions