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

Skip to content
Commit 3570fb12 authored by Aniket Kumar Lata's avatar Aniket Kumar Lata
Browse files

hal: Handle compress drain event interruption

- A spurious drain ready callback is being sent when drain
  is interrupted.
- Drain buffer is an interruptible event in driver and offload
  thread can expect to receive an interrupt (EINTR) while drain
  is processing.
- Currently, offload thread checks only for reset (ENETRESET)
  event during compress_drain before sending drain ready CB.
- Sending drain ready event CB when drain is not complete results
  in EOS being triggered early.
- Fix this by checking for compress drain interruption within
  offload thread loop.

CRs-Fixed: 2135703
Change-Id: Iefb1be5eee4d85b897d5d4b028a5a5788b5dcf1e
parent 9dff3597
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