commit | 31bd80d56db3d4b864320019f8028497560a803d | [log] [tgz] |
---|---|---|
author | Asish Bhattacharya <asishb@codeaurora.org> | Wed Jan 04 02:30:13 2012 +0530 |
committer | Asish Bhattacharya <asishb@codeaurora.org> | Wed Jan 04 02:33:40 2012 +0530 |
tree | 85aefec1dc7ce0ba2741f59922499d07e0fb6b39 | |
parent | 62b58772ba51a4ce320def059b61b854ff759671 [diff] |
ASoC: msm: Fix issue with Pause/resume The driver is sending the next buffer everytime after coming out of PAUSE. This shouldnt happen as the previous driver might still be with DSP. Fix by putting appropriate check to the pending_buffer flag. The pending_buffer flag should also be atomic to handle intermediate close of session. Change-Id: Ieb102b968b6d18736bab0cf4298cc51b7ed3affe CRs-Fixed: 326259 Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>