Re: [PATCH v2] ACPI / LPSS: Ignore acpi_device_fix_up_power() return value

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

 



On Sat, Dec 08, 2018 at 01:59:24PM +0100, Hans de Goede wrote:
> Ignore acpi_device_fix_up_power() return value. If we return an error
> we end up with acpi_default_enumeration() still creating a platform-
> device for the device and we end up with the device still being used
> but without the special LPSS related handling which is not useful.
> 
> Specicifically ignoring the error fixes the touchscreen no longer
> working after a suspend/resume on a Prowise PT301 tablet.

Hmm... Sounds like a hammer for a rather rare cases.
Wouldn't be better to have DMI based matching quirk then do it for everyone?

> 
> This tablet has a broken _PS0 method on the touchscreen's I2C controller,
> causing acpi_device_fix_up_power() to fail, causing fallback to standard
> platform-dev handling and specifically causing acpi_lpss_save/restore_ctx
> to not run.
> 
> The I2C controllers _PS0 method does actually turn on the device, but then
> does some more nonsense which fails when run during early boot trying to
> use I2C opregion handling on another not-yet registered I2C controller.

-- 
With Best Regards,
Andy Shevchenko





[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