projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e378a6
)
dma: cppi41: return code > 0 of pm_runtime_get_sync() is not an error
author
Sebastian Andrzej Siewior
<bigeasy@linutronix.de>
Tue, 22 Oct 2013 10:14:06 +0000
(12:14 +0200)
committer
Vinod Koul
<vinod.koul@intel.com>
Tue, 12 Nov 2013 08:58:25 +0000
(14:28 +0530)
Return code of pm_runtime_get_sync() > 0 is not an error and may happen.
Noticed during rmmod & modprobe testing.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/cppi41.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/cppi41.c
b/drivers/dma/cppi41.c
index ec87492cfb07f2a64c3ca2d03586a9e7623d79ca..c29dacff66fa951f136657536a628b6743ccda30 100644
(file)
--- a/
drivers/dma/cppi41.c
+++ b/
drivers/dma/cppi41.c
@@
-956,7
+956,7
@@
static int cppi41_dma_probe(struct platform_device *pdev)
pm_runtime_enable(dev);
ret = pm_runtime_get_sync(dev);
- if (ret)
+ if (ret
< 0
)
goto err_get_sync;
cdd->queues_rx = glue_info->queues_rx;