diff options
author | Paul Parsons <lost.distance@yahoo.com> | 2011-08-09 12:27:24 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-10-24 08:09:09 -0400 |
commit | 3c6e36537e40a41ddb0e27a80149cfd341a92d7d (patch) | |
tree | 6dc56171413dfca14dd533f29924c0585d69b63d /drivers/mfd/asic3.c | |
parent | 1693673fc003d3d5f80ae34b21e0480a1d8a36e3 (diff) |
mfd: Fix asic3 based SD card resume after suspend
The mfd/asic3 driver did not define the suspend/resume handlers for the mmc cell
driver. Consequently the mmc driver did not resume properly after returning from
suspend, making sd cards unusable and preventing suspend from being entered a
second time. This patch adds the suspend/resume handlers, fixing the problem.
Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/asic3.c')
-rw-r--r-- | drivers/mfd/asic3.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c index c71ae09430c5..5ac2961fedfe 100644 --- a/drivers/mfd/asic3.c +++ b/drivers/mfd/asic3.c | |||
@@ -779,6 +779,8 @@ static struct mfd_cell asic3_cell_mmc = { | |||
779 | .name = "tmio-mmc", | 779 | .name = "tmio-mmc", |
780 | .enable = asic3_mmc_enable, | 780 | .enable = asic3_mmc_enable, |
781 | .disable = asic3_mmc_disable, | 781 | .disable = asic3_mmc_disable, |
782 | .suspend = asic3_mmc_disable, | ||
783 | .resume = asic3_mmc_enable, | ||
782 | .platform_data = &asic3_mmc_data, | 784 | .platform_data = &asic3_mmc_data, |
783 | .pdata_size = sizeof(asic3_mmc_data), | 785 | .pdata_size = sizeof(asic3_mmc_data), |
784 | .num_resources = ARRAY_SIZE(asic3_mmc_resources), | 786 | .num_resources = ARRAY_SIZE(asic3_mmc_resources), |