[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181025232138.GA28487@Asurada-Nvidia.nvidia.com>
Date: Thu, 25 Oct 2018 16:21:38 -0700
From: Nicolin Chen <nicoleotsuka@...il.com>
To: linux@...ck-us.net
Cc: jdelvare@...e.com, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/5] hwmon: (core) Inherit power properties to hdev
On Thu, Oct 25, 2018 at 06:55:31AM +0000, linux@...ck-us.net wrote:
> > won't work then. I guess it'd be safer to ignore the problem of
> > the power node, i.e. using parent dev pointer for pm runtime.
> >
> It might be worthwhile looking up how other virtal devices handle
> this problem. Maybe the hwmon code could have its own suspend/resume
> callbacks. Not sure how to make that work, though, and what those
> callbacks would (have to) do.
I am adding a core pm pointer to the class. A hwmon driver will
also need to pass a private pm pointer in a chip/info structure.
I will send it soon.
Thanks
Nicolin
Powered by blists - more mailing lists