Re: Re: [PATCH] scsi: ufs: Fix runtime PM imbalance on error

2020-05-26 Thread dinghao . liu
> Hi, > > On 22/05/20 10:23 am, Dinghao Liu wrote: > > When devm_clk_get() returns an error code, a pairing > > runtime PM usage counter decrement is needed to keep > > the counter balanced. > > > > Signed-off-by: Dinghao Liu > > --- > > Thanks for the patch! But this fix is incomplete, I have

Re: [PATCH] scsi: ufs: Fix runtime PM imbalance on error

2020-05-26 Thread Vignesh Raghavendra
Hi, On 22/05/20 10:23 am, Dinghao Liu wrote: > When devm_clk_get() returns an error code, a pairing > runtime PM usage counter decrement is needed to keep > the counter balanced. > > Signed-off-by: Dinghao Liu > --- Thanks for the patch! But this fix is incomplete, I have posted a more compreh

[PATCH] scsi: ufs: Fix runtime PM imbalance on error

2020-05-21 Thread Dinghao Liu
When devm_clk_get() returns an error code, a pairing runtime PM usage counter decrement is needed to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/scsi/ufs/ti-j721e-ufs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/ufs/ti-j721e-ufs.c b/drivers/scsi/ufs/ti