• Len Brown's avatar
    ACPI: power: update error message · ddc50b6a
    Len Brown authored
    "Transitioning device [%s] to D%d" is not correct.
    We print this line when we attempted to transition
    the device, and it failed.
    
    So instead, print
    "Device [%s] failed to transition to D%d\n"
    
    This can happen under two conditions:
    
    1. acpi_power_transition() fails when trying to handle the
       _ON/_OFF for associated power resource.
    
    2. acpi_evaluate_object() on the explicit _PS0/_PS3
       for that actual device could fail.
    
    this change clarifies, but doesn't fix
    http://bugzilla.kernel.org/show_bug.cgi?id=13243Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    ddc50b6a
bus.c 21.6 KB