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

Skip to content
Commit ed36ca56 authored by Sahitya Tummala's avatar Sahitya Tummala
Browse files

scsi: ufs: fix issue with clock gating



In a case where clocks are gated and to ungate them ufshcd_hold()
is called with async flag set to false, clocks would be enabled
within the same context. There is a bug in the current code where
the active_reqs counter is getting incremented twice. This would
further prevent clock gating from happening.  Fix this issue by
updating the active_reqs correctly.

Change-Id: I70bdae8d1ccc189db9bd2e9fee66678c571933f6
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent 46f3602a
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