commit | c6af54dfe5d14ea20a2eba36950177875d49f718 | [log] [tgz] |
---|---|---|
author | Jeff Hugo <jhugo@codeaurora.org> | Wed Nov 02 17:00:27 2011 -0600 |
committer | Jeff Hugo <jhugo@codeaurora.org> | Thu Nov 03 13:06:08 2011 -0600 |
tree | 8b85fec453792981c6b658fc958f72f56cdb8fac | |
parent | 5e568b70d7c8da8910d331b72c18ed375f70856c [diff] |
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: Jeffrey Hugo <jhugo@codeaurora.org>