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

Skip to content
Commit 7c65fa63 authored by Can Guo's avatar Can Guo
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, the 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: If8bc6c3f4a545900dd1d783d2cfdf2bfd164073d
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
parent 3d91e789
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment