ACPICA: Dispatcher: Fix an unbalanced lock exit path in acpi_ds_auto_serialize_method()
authorLv Zheng <zetalog@gmail.com>
Wed, 26 Oct 2016 07:40:20 +0000 (15:40 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 28 Oct 2016 23:57:43 +0000 (01:57 +0200)
commit8121aa26e32012ca89afafa5e503b879950ac0fe
tree19dba2b5928c478fc18dde342e8ee827fcfe0c4d
parent25ccd2429fd0af5b9c2c136c8c593491aeabf162
ACPICA: Dispatcher: Fix an unbalanced lock exit path in acpi_ds_auto_serialize_method()

There is a lock unbalanced exit path in acpi_ds_initialize_method(),
this patch corrects it.

Fixes: 441ad11d078f (ACPICA: Dispatcher: Fix a mutex issue for method auto serialization)
Tested-by: Imre Deak <imre.deak@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/dsmethod.c