[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d599e864-9961-44e3-8b9b-bc41a8044319@sirena.org.uk>
Date: Wed, 26 Jun 2024 16:39:10 +0100
From: Mark Brown <broonie@...nel.org>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>, Len Brown <lenb@...nel.org>,
Robert Moore <robert.moore@...el.com>, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org, acpica-devel@...ts.linux.dev,
Aishwarya.TCV@....com
Subject: Re: [PATCH 2/5] ACPI: sysfs: use device lifecycle for _STR result
On Tue, Jun 25, 2024 at 11:56:18PM +0200, Thomas Weißschuh wrote:
> On 2024-06-25 21:57:13+0000, Mark Brown wrote:
> > <2>[ 50.236703] acpi LNXTHERM:08: Resources present before probing
> This does make sense, the device is not yet bound to a driver.
> Which apparently precludes the usage of devres.
Oh, yes - I really wouldn't expect that to work at all, devres is all
about tying things to the device being bound so trying to use it outside
of that is not something I'd expect to go well.
> I'm also wondering why the _STR attribute behaved differently in the
> first place.
> Does the patch below work better?
That patch applied on top of -next appears to resolve the issue.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists