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
Loading
Please register or sign in to comment