+5
−10
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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