• M
    ACPI / PM: allow child devices to ignore parent power state · 644f17ad
    Mika Westerberg 提交于
    Some serial buses like I2C and SPI don't require that the parent device is
    in D0 before any of its children transitions to D0, but instead the parent
    device can control its own power independently from the children.
    
    This does not follow the ACPI specification as it requires the parent to be
    powered on before its children. However, Windows seems to ignore this
    requirement so I think we can do the same in Linux.
    
    Implement this by adding a new power flag 'ignore_parent' to struct
    acpi_device.  If this flag is set the ACPI core ignores checking of the
    parent device power state when the device is powered on/off.
    Signed-off-by: NMika Westerberg <mika.westerberg@linux.intel.com>
    Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
    644f17ad
acpi_bus.h 14.7 KB