]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: tangier_sdhci: fix uninitialized pointer deref on probe
authorPeng Fan <peng.fan@nxp.com>
Tue, 6 Aug 2019 02:48:04 +0000 (02:48 +0000)
committerPeng Fan <peng.fan@nxp.com>
Fri, 9 Aug 2019 05:45:25 +0000 (13:45 +0800)
commitd49c64ece4e2e980e7f46389dd41be756d9620fb
treefc5378e0f8404dc524a49ca37359918584c92b37
parent48ec709bdeb811c8cec32db1caeaedf84d5b3bc0
mmc: tangier_sdhci: fix uninitialized pointer deref on probe

Commit 902ce1131df6 ("mmc: sdhci: Add support for
sdhci-caps-mask") sdhci_setup_cfg() expects a valid sdhci_host mmc
field.

Fixes: 902ce1131df6 ("mmc: sdhci: Add support for sdhci-caps-mask")
Cc: Faiz Abbas <faiz_abbas@ti.com>
Cc: Vincent Tinelli <vincent.tinelli@intel.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/tangier_sdhci.c