]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / PCI / hotplug: unlock in error path in acpiphp_enable_slot()
authorInsu Yun <wuninsu@gmail.com>
Sat, 23 Jan 2016 20:44:19 +0000 (15:44 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Jan 2016 01:09:03 +0000 (02:09 +0100)
commitf0f9fa336e7cc913c372949678705c1593d7949c
tree35273c034244785dd23bf9c7885979cd093f82e4
parent84a7ad0e5650ee50e09dd7d1f9b314cc831f9abb
ACPI / PCI / hotplug: unlock in error path in acpiphp_enable_slot()

In acpiphp_enable_slot(), there is a missing unlock path
when error occurred.  It needs to be unlocked before returning
an error.

Signed-off-by: Insu Yun <wuninsu@gmail.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/hotplug/acpiphp_glue.c