diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2018-05-17 11:42:32 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-05-17 12:46:49 +0200 |
commit | dbad41e7bb5f4b9949ff5ea1d76c20711f326308 (patch) | |
tree | 7df88760ce5bae0dd61ece3b9441a18f34928bdd /MAINTAINERS | |
parent | dmaengine: Update email address for Vinod (diff) | |
download | linux-dbad41e7bb5f4b9949ff5ea1d76c20711f326308.tar.xz linux-dbad41e7bb5f4b9949ff5ea1d76c20711f326308.zip |
dmaengine: qcom: bam_dma: check if the runtime pm enabled
Disabling pm runtime at probe is not sufficient to get BAM working
on remotely controller instances. pm_runtime_get_sync() would return
-EACCES in such cases.
So check if runtime pm is enabled before returning error from bam functions.
Fixes: 5b4a68952a89 ("dmaengine: qcom: bam_dma: disable runtime pm on remote controlled")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions