diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2011-12-06 16:15:54 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2011-12-08 13:44:35 +0530 |
commit | 3506c0d507144d9b0f19efd5a56d289f70611179 (patch) | |
tree | a647255761f9f29eeef237f32dd09b46509db073 /drivers/dma/mxs-dma.c | |
parent | f910fb8fcd1c97788f2291c8646597bcd87ee061 (diff) |
DMA: PL330: Remove pm_runtime_xxx calls from pl330 probe/remove
amba_probe() now calls pm_runtime_get_noresume() and pm_runtime_enable()
for the devices before the device probe is called. Hence we don't need
to call pm_runtime_get_xxx and pm_runtime_enable() in device probe again.
In the same way, since amba_remove() calls the respective pm_runtime
functions, those functions need not be called from device remove.
This patch fixes following run time error with pl330 driver.
dma-pl330 dma-pl330.0: Unbalanced pm_runtime_enable!
dma-pl330 dma-pl330.0: failed to get runtime pm
Signed-off-by: Giridhar Maruthy <giridhar.maruthy@linaro.org>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/dma/mxs-dma.c')
0 files changed, 0 insertions, 0 deletions