mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe()
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 26 Jun 2016 20:43:55 +0000 (22:43 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 8 Jul 2016 13:57:30 +0000 (09:57 -0400)
commiteb9d3ca3560d9348f2db83beb2f51a85806519dd
treed263aca0c19c351eb85d42ff8e3df2b99de458f8
parentabbaa23f652e18f3df7594b943835c82f8f78c3a
mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe()

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@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/mmc/msm_sdhci.c