]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: sdhci: Check that ops are defined
authorRamon Fried <ramon.fried@gmail.com>
Mon, 14 May 2018 12:02:30 +0000 (15:02 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 15 May 2018 01:28:38 +0000 (21:28 -0400)
commitb70fe965bb4c780f27efcc7aac0fd845c1825305
treec5853fde4b28da0e66e5efb33a50123d8a2bac9d
parented52ea507f120738b180d1a18a2945412b0ddb63
mmc: sdhci: Check that ops are defined

The check is necessary to avoid NULL pointer dereference.

Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
drivers/mmc/sdhci.c