Commit c6af54df authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: bam_dmux: release read lock in error scenarios



If an error is encountered while writing, bail after releasing all
resources. The read lock needs to be released so that the write lock can
be grabbed if no other clients are holding the read lock, otherwise a
phantom client will always be holding the read lock thus starving the
write lock client.

Change-Id: I167d09c1f8c7b00563e9b398cbede50f9378c971
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 5e568b70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment