• Rafael J. Wysocki's avatar
    ACPI / LPSS: Support for device latency tolerance PM QoS · 1a8f8351
    Rafael J. Wysocki authored
    Add a new routine, acpi_lpss_set_ltr(), for setting latency tolerance
    values for LPSS devices having LTR (Latency Tolerance Reporting)
    registers.  Add .bind()/.unbind() callbacks to lpss_handler to set
    the LPSS devices' power.set_latency_tolerance callback pointers to
    acpi_lpss_set_ltr() during device addition and to clear them on
    device removal, respectively.
    
    That will cause the device latency tolerance PM QoS to work for
    the devices in question as documented.
    
    This changeset includes a fix from Mika Westerberg.
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    1a8f8351
acpi_lpss.c 12.6 KB