commit | 3022a8016c93d8274f5d9496e5e1c9f91a92623f | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Aug 28 14:46:54 2013 -0700 |
committer | Krishnankutty Kolathappilly <kkolat@codeaurora.org> | Fri Nov 01 10:09:15 2013 -0700 |
tree | 618884a5dcf5d54335aa5d6aa545a699ae3aab3f | |
parent | 57a95b6a763dffc7fee553a4c3f752a2cbbf70bf [diff] |
ALSA: compress: use mutex in drain Since we dont have lock over the function, we need to acquire mutex when checking and modifying states in drain and partial_drain handlers Change-Id: I3f8af90a226b772492fb6e09c625ebedc8ebfeb5 Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Eric Laurent <elaurent@google.com> Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>