commit | efecf10100f96567909934c23bf8ca65397ce7a3 | [log] [tgz] |
---|---|---|
author | Lakshman Chaluvaraju <lchalu@codeaurora.org> | Fri Jun 18 14:32:41 2021 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Jul 09 03:45:23 2021 -0700 |
tree | 347871940565482346b8ce00cb10c60a0cc4b14a | |
parent | 4202f6db1ab6a980251efcab1c1967eb73d28efa [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