[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f37f5944-29e1-643f-638d-71cc0d851734@cogentembedded.com>
Date: Thu, 21 May 2020 21:46:21 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Dinghao Liu <dinghao.liu@....edu.cn>, kjlu@....edu
Cc: Jens Axboe <axboe@...nel.dk>, linux-ide@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sata_rcar: Fix runtime PM imbalance on error
Hello!
On 05/21/2020 11:58 AM, 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.
>
> Signed-off-by: Dinghao Liu <dinghao.liu@....edu.cn>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
MBR, Sergei
Powered by blists - more mailing lists