commit | 6cbe136ea1fc6e15d0a5d16b7f2730a7875c4f9c | [log] [tgz] |
---|---|---|
author | Lakshman Chaluvaraju <lchalu@codeaurora.org> | Fri Jun 18 14:32:41 2021 +0530 |
committer | Lakshman Chaluvaraju <lchalu@codeaurora.org> | Wed Jul 07 17:33:20 2021 +0530 |
tree | 0f08ee306ce6e1748e4e8210fe2efbeb81e350ac | |
parent | 2cc132a765140dd64412d9f6578a449322e0dfc5 [diff] |
a2dp : pcm prepare fail for input during a2dp suspend and reconfig Start input is failing due to race condition in a2dp suspend and a2dp connection/disconnection. If a2dp suspend params are and then a2dp disconnection comes, reseting the suspended flag can cause a2dp_is_ready function return invalid value during start input and hence pcm prepare fails. Avoid setting a2dp suspend state to false if sco is still on. Change-Id: I83950ddd0d4d3bbe6f30846cba48f6eb88c14690