ACPICA: _OSI Support: handle any errors from acpi_os_acquire_mutex()
authorJung-uk Kim <jkim@FreeBSD.org>
Fri, 12 Apr 2013 00:24:34 +0000 (00:24 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 12 Apr 2013 11:29:46 +0000 (13:29 +0200)
commit388a9902074c3cfe57d2425d766c491d072d2948
treef4cb5406cf6d65eaf3a78146934dd0ad1fc8917d
parentc34c82bc9634a099a2652889806c5997f2a3d56f
ACPICA: _OSI Support: handle any errors from acpi_os_acquire_mutex()

Check for any errors. Handles possible timeout case if
ACPI_WAIT_FOREVER is changed to be less than "forever".
Jung-uk Kim.

Signed-off-by: Jung-uk Kim <jkim@FreeBSD.org>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acutils.h
drivers/acpi/acpica/utosi.c
drivers/acpi/acpica/utxface.c