Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6cbe136e authored by Lakshman Chaluvaraju's avatar Lakshman Chaluvaraju
Browse files

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
parent 2cc132a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment