platform/x86: dell-smbios-wmi: release mutex lock on WMI call failure
authorMario Limonciello <mario.limonciello@dell.com>
Mon, 6 Nov 2017 03:34:34 +0000 (21:34 -0600)
committerDarren Hart (VMware) <dvhart@infradead.org>
Wed, 8 Nov 2017 20:58:37 +0000 (12:58 -0800)
commit307ab2a99d190d3a7949258b8551b66887ce8cf4
treebaf2d32567b87f17dfd17dd11e780cc73df90eb1
parent5e3e22971fb0b0d7d03286f1a619d0348748a243
platform/x86: dell-smbios-wmi: release mutex lock on WMI call failure

Unbound devices may race with calling this function causing the mutex
to stay locked.  This failure mode should have released the mutex too.

Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/dell-smbios-wmi.c