commit | a0723f267468c2b7c4e2a58323705513c1189c60 | [log] [tgz] |
---|---|---|
author | Venkat Gopalakrishnan <venkatg@codeaurora.org> | Fri Apr 01 14:25:42 2016 -0700 |
committer | Xiaonian Wang <xiaonian@codeaurora.org> | Fri Apr 07 17:32:25 2017 -0700 |
tree | 97e808b8c6b7e47cee9ef495580801909d6fcf98 | |
parent | c66abcd8171c409afc50c86ddc16322fc4f396ab [diff] |
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: Venkat Gopalakrishnan <venkatg@codeaurora.org>