Re: Re: Re: [PATCH] media: vsp1: Fix runtime PM imbalance in vsp1_probe

From: dinghao . liu
Date: Sun Jun 07 2020 - 23:33:48 EST



>
> 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