[U-Boot] [PATCH] mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe()
Simon Glass
sjg at chromium.org
Wed Jun 29 05:27:46 CEST 2016
On 26 June 2016 at 13:43, Mateusz Kulikowski
<mateusz.kulikowski at gmail.com> wrote:
> MMC core expects (now) valid mmc->dev pointer.
> During conversion in commit cffe5d86 not every driver was updated.
>
> This patch fixes crash while accessing MMC on
> boards using Qualcomm SDHCI controller.
>
> Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski at gmail.com>
> ---
> This patch fixes MMC support on dragonboard.
>
> Without it attempts to access MMC caused null-pointer derefernece.
>
>
> drivers/mmc/msm_sdhci.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list