mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
When we fail to open the device file due to DTX being shut down, the
mutex is initialized but never destroyed. We are destroying it when
releasing the file, so add the missing call in the failure path as well.
Fixes:
|
||
|---|---|---|
| .. | ||
| aggregator | ||
| Kconfig | ||
| Makefile | ||
| surface3_button.c | ||
| surface3_power.c | ||
| surface3-wmi.c | ||
| surface_acpi_notify.c | ||
| surface_aggregator_cdev.c | ||
| surface_aggregator_registry.c | ||
| surface_dtx.c | ||
| surface_gpe.c | ||
| surface_hotplug.c | ||
| surface_platform_profile.c | ||
| surfacepro3_button.c | ||