]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: atmel_sdhci: fix uninitialized pointer deref on probe
authorPeng Fan <peng.fan@nxp.com>
Tue, 6 Aug 2019 02:47:47 +0000 (02:47 +0000)
committerPeng Fan <peng.fan@nxp.com>
Fri, 9 Aug 2019 05:45:25 +0000 (13:45 +0800)
commitd13d9361109109fd8fced41660811ab1b20e339b
tree4b445036f1749b034e1df57fd77f443aebc32419
parentfed1fcbc0eae64e94b875c6df2f00fe7fd0edebe
mmc: atmel_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: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Tested-by: Eugen Hristev <eugen.hristev@microchip.com>
drivers/mmc/atmel_sdhci.c