Searched hist:d2805402 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/base/power/ |
H A D | domain.c | d2805402 Thu Jul 14 13:59:20 CDT 2011 Rafael J. Wysocki <rjw@sisk.pl> PM / Domains: Take .power_off() error code into account
Currently pm_genpd_poweroff() discards error codes returned by the PM domain's .power_off() callback, because it's safer to always regard the domain as inaccessible to drivers after a failing .power_off(). Still, there are situations in which the low-level code may want to indicate that it doesn't want to power off the domain, so allow it to do that by returning -EBUSY from .power_off().
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Magnus Damm <damm@opensource.se> d2805402 Thu Jul 14 13:59:20 CDT 2011 Rafael J. Wysocki <rjw@sisk.pl> PM / Domains: Take .power_off() error code into account Currently pm_genpd_poweroff() discards error codes returned by the PM domain's .power_off() callback, because it's safer to always regard the domain as inaccessible to drivers after a failing .power_off(). Still, there are situations in which the low-level code may want to indicate that it doesn't want to power off the domain, so allow it to do that by returning -EBUSY from .power_off(). Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Magnus Damm <damm@opensource.se>
|