mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 16:07:39 +00:00
dma: cppi41: return code > 0 of pm_runtime_get_sync() is not an error
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>
This commit is contained in:
parent
1e378a6d77
commit
cbf1e56e6a
1 changed files with 1 additions and 1 deletions
|
@ -956,7 +956,7 @@ static int cppi41_dma_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
pm_runtime_enable(dev);
|
pm_runtime_enable(dev);
|
||||||
ret = pm_runtime_get_sync(dev);
|
ret = pm_runtime_get_sync(dev);
|
||||||
if (ret)
|
if (ret < 0)
|
||||||
goto err_get_sync;
|
goto err_get_sync;
|
||||||
|
|
||||||
cdd->queues_rx = glue_info->queues_rx;
|
cdd->queues_rx = glue_info->queues_rx;
|
||||||
|
|
Loading…
Reference in a new issue