]> 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)
commit82e712ea69c25f115017cb77622da5e1363e263a
tree378f1fe286c73053108312c65ad827bb8e564b6e
parent5d18901ceb26c3df4033dab46b137462f5a65b3a
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