Messages in this thread | | | Date | Mon, 8 Jun 2020 11:33:34 +0800 (GMT+08:00) | From | dinghao.liu@zju ... | Subject | Re: Re: Re: [PATCH] media: vsp1: Fix runtime PM imbalance in vsp1_probe |
| |
> > The vsp1_probe() function has a struct vsp1_device whose dev field is > populated by the time it needs to call pm_runtime_get_sync() and > pm_runtime_get_put(), so I think you can use vsp1_device_get() and > vsp1_device_put() as drop-in replacements without changing the > parameters to these two functions. >
It's clear to me, thanks!
Regards, Dinghao
| |