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

Skip to content
Commit bdb32597 authored by Ram Prakash Gupta's avatar Ram Prakash Gupta Committed by Gerrit - the friendly Code Review server
Browse files

mmc: core: Init mmc host clock scaling suspend state



We track the mmc clock scaling state using mmc host's flag is_suspended.
During the first SD card removal event, mmc driver suspends the clock
scaling to cancel any pending scaling work; however, the is_suspended flag
value remains set to TRUE. When the SD card is inserted and removed again,
the mmc shall not suspend the clock scaling because the is_suspended flag
is set to TRUE.
Resetting the mmc host clock scaling's is_suspended to FALSE during the
clock scaling initialization to ensure that the driver suspend the clock
scaling properly for subsequent card removal events.

Change-Id: I44defcc95f50e4ed2ee17bc249f7bff867920ceb
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
Signed-off-by: default avatarRam Prakash Gupta <rampraka@codeaurora.org>
parent cb2fc92f
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