dmaengine: ste_dma40: don't check for pm_runtime_suspended()
authorNarayanan G <narayanan.gopalakrishnan@stericsson.com>
Fri, 20 Jan 2012 08:26:14 +0000 (13:56 +0530)
committerFabio Baltieri <fabio.baltieri@linaro.org>
Mon, 14 Jan 2013 09:50:32 +0000 (10:50 +0100)
commit42365cf0fa19473dde5fe226b0e7e9ab8ea18af8
treea0ee91453a5fcced002ddf724bd16ca921fd05cb
parent92bb6cdb5302a4b0b3c6b6cfc0854aaed882c4bc
dmaengine: ste_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.

Signed-off-by: Narayanan G <narayanan.gopalakrishnan@stericsson.com>
Reviewed-by: Rabin Vincent <rabin.vincent@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
drivers/dma/ste_dma40.c