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

Commit 1919d204 authored by Jun Li's avatar Jun Li
Browse files

scsi: ufs-qcom: fix the issue of get wrong ufs clk status from sysfs node



Currently we only set host->clks_on to TRUE when clock is enabled,
but don't set back to FALSE when clock is disabled. It would lead to
incorrect clk status user read from sysfs node. Fix it by setting
back to FALSE when clock is disabled in ufs_qcom_setup_clocks().

Change-Id: I3b76ead3dad860c1749585e9c20c31af54de3998
Signed-off-by: default avatarJun Li <liju@codeaurora.org>
parent c2fb4f39
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