Re: [PATCH] dmaengine: ti: edma: Fix runtime PM imbalance on error

2020-05-25 Thread Peter Ujfalusi
On 21/05/2020 11.46, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > when it returns an error code. Thus a pairing decrement is needed on > the error handling path to keep the counter balanced. Thank you for the patch! Acked-by: Peter Ujfalusi >

[PATCH] dmaengine: ti: edma: Fix runtime PM imbalance on error

2020-05-21 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/dma/ti/edma.c | 3 +-- 1 file changed, 1 insertion(+), 2