[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <769e1fbf.f668c.17291fd9673.Coremail.dinghao.liu@zju.edu.cn>
Date: Mon, 8 Jun 2020 11:33:34 +0800 (GMT+08:00)
From: dinghao.liu@....edu.cn
To: "Laurent Pinchart" <laurent.pinchart@...asonboard.com>
Cc: kjlu@....edu,
"Kieran Bingham" <kieran.bingham+renesas@...asonboard.com>,
"Mauro Carvalho Chehab" <mchehab@...nel.org>,
linux-media@...r.kernel.org, linux-renesas-soc@...r.kernel.org,
linux-kernel@...r.kernel.org
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
Powered by blists - more mailing lists