Messages in this thread | | | Date | Tue, 9 Jun 2020 09:30:01 +0800 (GMT+08:00) | From | dinghao.liu@zju ... | Subject | Re: Re: [PATCH] media: platform: sti: hva: Fix runtime PM imbalance on error |
| |
Hi Hans, > err_pm: > pm_runtime_put(dev); > > Shouldn't that be pm_runtime_put_sync()? > > I'm not pm expert, but it does look odd. >
I checked the implementation of these two APIs before and found they were exactly the same. So I think it's fine to keep using pm_runtime_put().
Regards, Dinghao
| |