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

Skip to content
Commit 50b98084 authored by Sriharsha Allenki's avatar Sriharsha Allenki
Browse files

mhi: core: Prevent doorbell with invalid tre



In the cases of HW accelerated channels, there
is a possibility that the db_mode has changed while
a queue is in progress. This can happen when
mhi_queue_dma is scheduled out and an OOB event
is parsed.
Fix this by determining whether to ring the
doorbell or not without releasing the lock to
ensure persistence of db_mode.

Change-Id: I586937057ff0b3329813c10d5f4337a2df887fd1
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent 34bd57b5
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