]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00231273-02 mmc: sdhci: fix failed to call platform exit on removal
authorRyan QIAN <b32804@freescale.com>
Fri, 26 Oct 2012 02:13:34 +0000 (10:13 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:41 +0000 (08:35 +0200)
commita1ba197ef7ad441f20a4ebbe8ad1992cba244e1d
tree855ef9da6ab7bdb16ced801f843b3928eae71b05
parent63b1224ae69c904fe13eb184cd1cdebcdde6aaa8
ENGR00231273-02 mmc: sdhci: fix failed to call platform exit on removal

Since sdhci_pltfm_data is stored in platform_device_id, but in
sdhci_pltfm_remove, it tried to get sdhci_pltfm_data directly from
pdev->dev.platform_data. It will result that it could not get the correct
sdhci_pltfm_data, so that platform exit will not be called on sdhci module's
removal.

Acked-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Ryan QIAN <b32804@freescale.com>
drivers/mmc/host/sdhci-pltfm.c