diff options
author | Narayanan G <narayanan.gopalakrishnan@stericsson.com> | 2012-01-20 13:56:14 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-19 08:56:39 +0100 |
commit | 2ae4b13c4c61541119ac5d1d50e06fe7d2f22051 (patch) | |
tree | 746445a00598e6236d7c01228ea7301f04e7daf1 | |
parent | 22ff33afa29bd89c1867c633652e518f7b48f812 (diff) |
dma40: don't check for pm_runtime_suspended()
The check for runtime suspend is not needed during a
regular suspend, as the framework takes care of this.
This fixes the issue of DMA driver not letting the
system to go to deepsleep in the first attempt.
ST-Ericsson ID: 411801
ST-Ericsson FOSS-OUT ID: NA
ST-Ericsson Linux next: NA
Change-Id: I2b6ef1593da3386b8b93c9d21eaa3a1f7daa7cd6
Signed-off-by: Narayanan G <narayanan.gopalakrishnan@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46030
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
-rw-r--r-- | drivers/dma/ste_dma40.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 05d0fa4262d..36f638811af 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -2775,8 +2775,6 @@ static int dma40_pm_suspend(struct device *dev) struct platform_device *pdev = to_platform_device(dev); struct d40_base *base = platform_get_drvdata(pdev); int ret = 0; - if (!pm_runtime_suspended(dev)) - return -EBUSY; if (base->lcpa_regulator) ret = regulator_disable(base->lcpa_regulator); |