summaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/ssh_request_layer.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-01-30 14:25:54 +0100
committerHans de Goede <hdegoede@redhat.com>2023-01-30 14:30:57 +0100
commite0c40529ff942a985eb0f3dacf18d35ee4dbb03d (patch)
tree3a9900c1c444d93052b4de56325a66e426e3effa /drivers/platform/surface/aggregator/ssh_request_layer.c
parentf21bf62290dd4d769594dcf0e6a688783d74f6a0 (diff)
downloadlinux-e0c40529ff942a985eb0f3dacf18d35ee4dbb03d.tar.gz
linux-e0c40529ff942a985eb0f3dacf18d35ee4dbb03d.tar.bz2
linux-e0c40529ff942a985eb0f3dacf18d35ee4dbb03d.zip
platform/x86/amd/pmf: Ensure mutexes are initialized before use
As soon as the first handler or sysfs file is registered the mutex may get used. Move the initialization to before any handler registration / sysfs file creation. Likewise move the destruction of the mutex to after all the de-initialization is done. Fixes: da5ce22df5fe ("platform/x86/amd/pmf: Add support for PMF core layer") Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20230130132554.696025-1-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_request_layer.c')
0 files changed, 0 insertions, 0 deletions