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

Skip to content
Commit 8a53211a authored by Sarthak Garg's avatar Sarthak Garg
Browse files

mmc: sdhci-msm: Add the missing check in sdhci_msm_check_power_status



On multi-card tray designs, the same card-tray would be used for SD
card and SIM cards. If SD card is placed at the rightmost location
in the tray, then SIM card may come in contact with SD card power-
supply while removing the tray. It may result in SIM damage.

So in sdhci_msm_handle_pwr_irq we skip the BUS_ON request when the
SD card is removed to be in consistent with the MGPI hardware fix to
prevent any damage to the SIM card in case of mult-card tray designs.

But we need to have a similar check in sdhci_msm_check_power_status to
be in consistent with the sdhci_msm_handle_pwr_irq function.

Change-Id: Ia3248139f351fa80dde163f805fa072cb298f39b
Signed-off-by: default avatarSarthak Garg <sartgarg@codeaurora.org>
parent 4c39afb3
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