The change a4d7728mmc(core: Update SD card removal logic based on cd- gpio state), has introduced logic to read the card presence status in resume path of mmc_pm_notify(), for forcing card detection if card is removed. But the API being used for getting gpio status invoking sleep calls from resume context which shouldn't have any sleep calls. So updated the resume path with different API for getting cd-gpio state. This chagne is not needed 4.9 kernel onwards since the there the sdhci_get_cd() API has different implementation. Change-Id: I5e7e760c6345a6fcdc873849d11f0bb32af09295 Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org> |
||
---|---|---|
.. | ||
card | ||
core | ||
host | ||
Kconfig | ||
Makefile |