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

Skip to content
Commit a455049e authored by Bao D. Nguyen's avatar Bao D. Nguyen
Browse files

mmc: core: Fix uninitialized clock scaling's freq table



For the UHS1 cards that have been initialized to operate
at 1.8V signaling level earlier and the card initialization
is invoked again, the driver would skip the voltage switching
sequence from 3.3V to 1.8V and exit the card initialization
because the SD card is already operating at 1.8V signaling voltage.
The clock scaling logic's clk_scaling_highest and clk_scaling_lowest
would be un-initialized in this case and cause failure to the
subsequent clock scaling initialization. Fix the issue by properly
initialize the clock scaling parameters that are later used by
the clock scaling initialization function.

Change-Id: I6489fbe3790feb07613d27b3c4bef62cd34fd44b
Signed-off-by: default avatarBao D. Nguyen <nguyenb@codeaurora.org>
parent a9974f00
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