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:
Bao D. Nguyen <nguyenb@codeaurora.org>
Loading
Please register or sign in to comment