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

Commit 571c797b authored by Yanghui Li's avatar Yanghui Li
Browse files

[ALPS05470078] mmc: fix mmc_data null pointer when msdc request timeout



[Detail]
When msdc request timeout, because no concurrency protection, the
mmc_data in host maybe set to null, then OOPS when get the mmc command
at the beginning of msdc_data_xfer_done.

[Solution]
Getting the mmc command after double checking host state.

MTK-Commit-Id: 204c87339f47a815939b6926b0635a71e186c54a

Change-Id: Ie7d24f4be6937872304e26cbd264cb4560965f95
CR-Id: ALPS05470078
Feature: eMMC
Signed-off-by: default avatarYanghui Li <yanghui.li@mediatek.com>
parent 143189d7
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