summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/mmc-omap.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-12-12 08:43:08 +1100
committerUlf Hansson <ulf.hansson@linaro.org>2015-01-19 09:56:08 +0100
commit61bd8a04b379e4fefbc0b0d06941d3f91071bb8c (patch)
tree13f5cd3129aa21dfa7ff266e69801f981335910b /include/linux/platform_data/mmc-omap.h
parent8a66fdae771487762519db0546e9ccb648a2f911 (diff)
downloadlinux-61bd8a04b379e4fefbc0b0d06941d3f91071bb8c.tar.bz2
mmc: omap_hsmmc: remove prepare/complete system suspend support.
The only function of these 'prepare' and 'complete' is to disable the 'card detect' irq during suspend. The commit which added this, commit a48ce884d5819d5df2cf1139ab3c43f8e9e419b3 mmc: omap_hsmmc: Introduce omap_hsmmc_prepare/complete justified it by the need to avoid the registration of new devices during suspend. However mmc_pm_notify will set ->rescan_disable in the 'prepare' stage and clear it in the 'complete' stage, so no card detection will actually happen. Also the interrupt will be disabled before final suspend as part of common suspend processing. So this disabling of the interrupt is unnecessary, and interferes with a transition to using common code for card-detect management. Cc: Felipe Balbi <balbi@ti.com> Cc: Venkatraman S <svenkatr@ti.com> Cc: Chris Ball <cjb@laptop.org> Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/platform_data/mmc-omap.h')
-rw-r--r--include/linux/platform_data/mmc-omap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/platform_data/mmc-omap.h b/include/linux/platform_data/mmc-omap.h
index 5c188f4e9bec..929469291406 100644
--- a/include/linux/platform_data/mmc-omap.h
+++ b/include/linux/platform_data/mmc-omap.h
@@ -31,10 +31,6 @@ struct omap_mmc_platform_data {
void (*cleanup)(struct device *dev);
void (*shutdown)(struct device *dev);
- /* To handle board related suspend/resume functionality for MMC */
- int (*suspend)(struct device *dev, int slot);
- int (*resume)(struct device *dev, int slot);
-
/* Return context loss count due to PM states changing */
int (*get_context_loss_count)(struct device *dev);