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

Skip to content
Commit a0723f26 authored by Venkat Gopalakrishnan's avatar Venkat Gopalakrishnan Committed by Xiaonian Wang
Browse files

mmc: core: Add NULL check for host->card



Make sure the card is present before enabling/disabling clock scaling,
to prevent NULL pointer access.

Change-Id: I1d683c4202ce34edeb6cb36d9713e226bb6f43d7
Signed-off-by: default avatarVenkat Gopalakrishnan <venkatg@codeaurora.org>
parent c66abcd8
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