Fix the duplicate unlock of the pcm read channel in certain cases.
Reviewed by: cg
This commit is contained in:
parent
94b6f028fd
commit
a8be3e63ce
@ -293,7 +293,6 @@ dsp_open(dev_t i_dev, int flags, int mode, struct thread *td)
|
||||
CHN_LOCK(rdch);
|
||||
pcm_chnref(rdch, -1);
|
||||
pcm_chnrelease(rdch);
|
||||
CHN_UNLOCK(rdch);
|
||||
}
|
||||
pcm_unlock(d);
|
||||
splx(s);
|
||||
|
Loading…
Reference in New Issue
Block a user