commit | f7260328b0302ed388ea15a88beb0fe74ddf8a7a | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Fri Aug 30 21:15:33 2019 -0700 |
committer | Peng Fan <peng.fan@nxp.com> | Thu Sep 05 15:29:29 2019 +0800 |
tree | 879f3d5f0d439692632391baf48bc9822d045084 | |
parent | 4889d83ddc80569c1d4a484ae959ca537b51258b [diff] |
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: 05e35d429745 ("mmc: mmc_spi: Re-write driver using DM framework") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>