diff options
| author | Ritesh Harjani <riteshh@codeaurora.org> | 2015-11-06 01:13:49 +0530 |
|---|---|---|
| committer | Subhash Jadavani <subhashj@codeaurora.org> | 2016-05-31 15:27:54 -0700 |
| commit | 215da65bf6fde62b5cd5cc3fa388e507369c28b1 (patch) | |
| tree | 32badc63537d0130ef1c90d70a244d3e171c95cc | |
| parent | 3aeae55f8a7688f88c952f84921337e8577d8ccc (diff) | |
mmc: core: Remove disabling of clk-gating for sdio cards
This removes disabling of clock-gating for qca6574
& qca9377. Now since async card interrupt support for
sdio card has been added(3c5351c0643a), re-enable
clk-gating support for sdio cards.
Change-Id: Ib497556f10c9c6576a3e0a3592f6755c8725370c
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
| -rw-r--r-- | drivers/mmc/core/host.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index c4bd0ecdf761..5e06ba5fbe97 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c @@ -194,13 +194,8 @@ bool mmc_host_may_gate_card(struct mmc_card *card) * SDIO3.0 card allows the clock to be gated off so check if * that is the case or not. */ - if (mmc_card_sdio(card) && card->cccr.async_intr_sup) { - if (mmc_enable_qca6574_settings(card) || - mmc_enable_qca9377_settings(card)) - return false; - else + if (mmc_card_sdio(card) && card->cccr.async_intr_sup) return true; - } /* * Don't gate SDIO cards! These need to be clocked at all times |
