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

Commit b92fb253 authored by Gilad Broner's avatar Gilad Broner
Browse files

media: dvb-core: fix sleeping inside atomic context



Before calling the callback function to the upper layer
the demux spinlock is acquired with interrupts disabled,
For pull mode, the spinlock is later released to allow sleeping
until enough space is freed. However, releasing the spinlock
while interrupts are still disabled means we remain in an atomic
context so sleeping is not allowed.

Change-Id: Ief2c35837b2ff87222a26eef6dce4daa255d163d
Signed-off-by: default avatarGilad Broner <gbroner@codeaurora.org>
parent eea23b7c
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