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

Commit ee93d26f authored by Ritesh Harjani's avatar Ritesh Harjani Committed by Xiaonian Wang
Browse files

mmc: cmdq_hci: Fix NULL pointer dereference crash



Add a check on cmdq_host->ops to avoid NULL pointer
dereference, if sdhci_dumpregs is called before
initializing cmdq_host->ops structure.

Change-Id: Idd1794e162c7a53cc63504e15e6e490481f104a3
Signed-off-by: default avatarRitesh Harjani <riteshh@codeaurora.org>
parent 16cf788f
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