aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/controller.c
diff options
context:
space:
mode:
authorMaximilian Luz <[email protected]>2021-06-04 13:25:40 +0000
committerHans de Goede <[email protected]>2021-06-16 15:47:52 +0000
commita32348b743eec51ac01334735a0b6c979157b132 (patch)
tree979bbeafde015277f6093a34bb5482b9e85dbc0a /drivers/platform/surface/aggregator/controller.c
parentplatform/x86: dell-wmi-sysman: fw_attr_inuse can be static (diff)
downloadkernel-a32348b743eec51ac01334735a0b6c979157b132.tar.gz
kernel-a32348b743eec51ac01334735a0b6c979157b132.zip
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: 1d609992832e ("platform/surface: Add DTX driver") Signed-off-by: Maximilian Luz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions