Skip to content
Snippets Groups Projects
Commit a9e487b7 authored by Kamal Negi's avatar Kamal Negi
Browse files

fm: synchronize dequeue_fm_tx_cmd function

In dequeue_fm_tx_cmd function, there is race condition happened between
command credits decrement and event received for command sent. After
sending command to SoC, event received immediately and processed before
it decrement the command credits, hence command credits become zero and
it stuck in condition wait for command credits and FM failure happens.

Change-Id: Ibb2cf98ade08bbc9b25946d2368b1b7e428397bc
parent 67f115c0
No related branches found
No related tags found
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