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

Skip to content
Commit 384621f6 authored by hangtian's avatar hangtian
Browse files

mmc: core: Do not set host->card to NULL if oldcard is not released



When card initiated mmc_power_restore_host() which triggers 2nd time
mmc_sdio_init_card(), we free the new allocated card and keep oldcard,
so we cannot set host->card to NULL if we still have oldcard.

Change-Id: I50cf6b543244fe929bc08da64571b7ccfd734f77
CRs-Fixed: 2487134
Signed-off-by: default avatarhangtian <hangtian@codeaurora.org>
parent b6fbaa1d
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