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

Skip to content
Commit 1f225571 authored by Hamad Kadmany's avatar Hamad Kadmany Committed by Stephen Boyd
Browse files

media: dvb: Fix behavior of blocking read operation



When filter is opened in blocking mode and read is requested
while there's no data in filter's output buffer, read operation
is blocked waiting for data events, this was done while mutex
of demux filter is held, causing all ioctl calls to demux
filter to be blocked until read is released (if ever).

This change releases the mutex before going to sleep, once
awakened, mutex is re-obtained before checking the filter's
status.

Change-Id: Iaa9bfbf4672147a6f7872e2e8264ea04c33be79f
Signed-off-by: default avatarHamad Kadmany <hkadmany@codeaurora.org>
parent fc355959
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment