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

Skip to content
Commit 6a63a560 authored by Venkat Gopalakrishnan's avatar Venkat Gopalakrishnan Committed by Can Guo
Browse files

scsi: ufs: do clock gating only after hibern8



Clock gating work must be executed only after auto hibern8
timeout has expired in the hardware or after aggressive
hibern8 on idle software timeout. Using jiffy based low
resolution delayed work is not reliable to guarantee this,
hence use a high resolution timer to make sure we schedule
the gate work precisely more than hibern8 timeout.

Change-Id: Ib2119bc58a1cdb7a5908db1b8775cb4f13db18f7
Signed-off-by: default avatarVenkat Gopalakrishnan <venkatg@codeaurora.org>
[cang@codeaurora.org: resolved trivial merge conflicts]
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
parent 157681f8
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