mmc: core: fix the issue with clock scaling in HS400 mode
Clock scaling feature would scale up/down the MMC interface clock frequency based on the load on storage. During clock scale up in HS400 bus speed mode, SW is unncesserily doing the tuning even after HS400 switch is done. This change fixes this bug. Change-Id: Ica39acc41b14095438a7ccf536c3c7e5792d9c41 Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
This commit is contained in:
parent
70979abc3e
commit
79983b1d7f
|
@ -1249,8 +1249,7 @@ static int mmc_change_bus_speed(struct mmc_host *host, unsigned long *freq)
|
|||
mmc_set_clock(host, (unsigned int) (*freq));
|
||||
}
|
||||
|
||||
if ((mmc_card_hs400(card) || mmc_card_hs200(card))
|
||||
&& card->host->ops->execute_tuning) {
|
||||
if (mmc_card_hs200(card) && card->host->ops->execute_tuning) {
|
||||
/*
|
||||
* We try to probe host driver for tuning for any
|
||||
* frequency, it is host driver responsibility to
|
||||
|
|
Loading…
Reference in New Issue