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

Skip to content
Commit facd1e46 authored by Jilai Wang's avatar Jilai Wang
Browse files

msm: npu: Fix missing interrupt issue when sending packet to firmware



It is possible that qhdr_rx_req is changed by firmware while
driver is writing the command packet to the IPC queue. Then driver
may not send an interrupt to fw at the end but fw does require
an interrupt. This change is to fix this potential racing condition
by checking if an interrupt is requested by firmware after
qhdr_write_idx is updated.

Change-Id: Ia6890d515a3eee778742113b77c3a08d60f4b4f2
Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>
parent 4ba47fa8
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