]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-iproc: fix oops in sdhci_iproc_writew
authorDmitry Torokhov <dtor@chromium.org>
Fri, 13 Mar 2015 01:11:01 +0000 (18:11 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Mar 2015 13:13:47 +0000 (14:13 +0100)
commit3ea301dc2d1f67be2e056dd2898863960f18ccab
tree378f1fe286c73053108312c65ad827bb8e564b6e
parent65013de855820770decb710cf7842ae481a21605
mmc: sdhci-iproc: fix oops in sdhci_iproc_writew

The driver co-allocates sdhci_iproc_host with sdhci_pltfm_host and so to
access it we need to use sdhci_pltfm_priv() and not pltfm_host->priv.

Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-iproc.c