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

Skip to content
Commit feeb1163 authored by Gautam Manam's avatar Gautam Manam Committed by Gerrit - the friendly Code Review server
Browse files

hal: deadlock with pause and SSR for compressed offload

For compress offload playback, during SSR offline
callback will hold out and latch lock and set
offload state to idle and wait on compress
offload thread state to be marked as unblocked.

In the mean time pause is triggered and it acquires
out lock and waits for out_latch lock.

And in another thread compress_wait completes and
wait for out lock causing dead lock.

Fix this by moving latch lock to protect only
offload_state, so that latch lock can be released.

Change-Id: Iec42eaf6c18477b4f87bb5bafe54fb346c7af73b
parent d4e8ced3
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