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

Skip to content
Commit 564659b1 authored by Dolev Raviv's avatar Dolev Raviv Committed by Stephen Boyd
Browse files

scsi: ufs: read door bell register after clearing interrupt aggregation



In interrupt context, after reading and comparing the UTRLDBR to
hba->outstanding_request and before resetting the interrupt aggregation,
there might be completion of another transfer request (TR). Such TRs might
get stuck, pending, until the next interrupt is generated (if any).
Changing the sequence of resetting the interrupt aggregation first and
then reading UTRLDBR status, will assure that completed TRs won't get
stuck pending.

Change-Id: I03704565257f2e1ebd4cedd5940e1ee5190ca3f7
Signed-off-by: default avatarDolev Raviv <draviv@codeaurora.org>
parent 4bc1cb50
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