diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-16 21:55:48 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-16 21:55:48 +0100 |
commit | 8a66790b7850a6669129af078768a1d42076a0ef (patch) | |
tree | 909b3cb9e23198edca48c38942583b6e6aee04f8 /drivers/acpi/glue.c | |
parent | 8e345c991c8c7a3c081199ef77deada79e37618a (diff) | |
download | blackbird-op-linux-8a66790b7850a6669129af078768a1d42076a0ef.tar.gz blackbird-op-linux-8a66790b7850a6669129af078768a1d42076a0ef.zip |
ACPI / resources: Use AE_CTRL_TERMINATE to terminate resources walks
Currently acpi_dev_process_resource() returns AE_ABORT_METHOD
to terminate the acpi_walk_resources() it is called from if
the .preproc() routine provided by the caller of
acpi_dev_get_resources() initiating the resources walk returns
an error code. It is better to use AE_CTRL_TERMINATE for this
purpose, however, so do that.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/acpi/glue.c')
0 files changed, 0 insertions, 0 deletions