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

Commit 8546510f authored by Sarthak Garg's avatar Sarthak Garg Committed by Gerrit - the friendly Code Review server
Browse files

mmc: sdhci-msm: Reset SDIO cards during probe by toggling wlan_en pin



Wlan cards are powered by external supply so mmc_power_cycle won't
reset the card.
The only way to reset the wlan cards is by toggling wlan_en pin.
Moreover pinctrl sleep configuration don't get applied during reboot
by default leading to wlan cards in some unknown state post reboot.

Toggle wlan_en pin during probe to reset the card to proper state.

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