Re: [PATCH] engine: stm32-dma: call pm_runtime_put if pm_runtime_get_sync fails

2020-06-24 Thread Navid Emamdoost
Hi, On Wed, Jun 24, 2020 at 2:39 AM Vinod Koul wrote: > > On 03-06-20, 13:34, Navid Emamdoost wrote: > > Calling pm_runtime_get_sync increments the counter even in case of > > failure, causing incorrect ref count. Call pm_runtime_put if > > pm_runtime_get_sync fails. > > pls fix subsystem name as

Re: [PATCH] engine: stm32-dma: call pm_runtime_put if pm_runtime_get_sync fails

2020-06-24 Thread Vinod Koul
On 03-06-20, 13:34, Navid Emamdoost wrote: > Calling pm_runtime_get_sync increments the counter even in case of > failure, causing incorrect ref count. Call pm_runtime_put if > pm_runtime_get_sync fails. pls fix subsystem name as dmaengine: ... > > Signed-off-by: Navid Emamdoost > --- > drivers

[PATCH] engine: stm32-dma: call pm_runtime_put if pm_runtime_get_sync fails

2020-06-03 Thread Navid Emamdoost
Calling pm_runtime_get_sync increments the counter even in case of failure, causing incorrect ref count. Call pm_runtime_put if pm_runtime_get_sync fails. Signed-off-by: Navid Emamdoost --- drivers/dma/stm32-dma.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/driver