Re: [PATCH 2/5] ACPI: sysfs: use device lifecycle for _STR result

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux