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

Skip to content
Commit a1a79d78 authored by Oluwafemi Adeyemi's avatar Oluwafemi Adeyemi Committed by Stephen Boyd
Browse files

mmc: msm_sdcc: Prevent NULL pointer dereference in IRQ



Ensure card object is accessed only when it is not NULL. Use
AND in place of OR operator, and correctly check for presence
of SDIO card.

Change-Id: Ibd95b4b213da3db5bdf83e3ca5664e88291e6e36
Signed-off-by: default avatarOluwafemi Adeyemi <aadeyemi@codeaurora.org>
parent 330ff14d
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