Skip to content
Commit d3302395 authored by Bin Meng's avatar Bin Meng Committed by Peng Fan
Browse files

dm: mmc_spi: Fix NULL pointer dereference in mmc_spi_bind()



The mmc_spi driver's priv is not available in its bind phase(). Use
platdata instead.

Fixes: 05e35d42 ("mmc: mmc_spi: Re-write driver using DM framework")
Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
parent c077c057
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment