linux/drivers/platform/surface
Maximilian Luz 6325ce1542 platform/surface: dtx: Add missing mutex_destroy() call in failure path
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: 1d60999283 ("platform/surface: Add DTX driver")
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20210604132540.533036-1-luzmaximilian@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2021-06-04 22:00:27 +02:00
..
aggregator platform/surface: aggregator: Fix event disable function 2021-06-03 13:07:34 +02:00
Kconfig platform/surface: dtx: Add support for native SSAM devices 2021-03-17 18:39:38 +01:00
Makefile
surface_acpi_notify.c
surface_aggregator_cdev.c
surface_aggregator_registry.c platform/surface: aggregator_registry: Add support for 13" Intel Surface Laptop 4 2021-05-25 14:51:28 +02:00
surface_dtx.c platform/surface: dtx: Add missing mutex_destroy() call in failure path 2021-06-04 22:00:27 +02:00
surface_gpe.c
surface_hotplug.c
surface_platform_profile.c
surface3_button.c
surface3_power.c
surface3-wmi.c
surfacepro3_button.c