aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-07-12 12:08:36 +0200
committerPavel Machek <[email protected]>2022-08-02 16:43:31 +0200
commite1af5c8155867e6773474649c76e5c68940008d5 (patch)
treed777e38296dcff67e32d7de55d3da8f1295caf47 /drivers/usb/cdns3/cdns3-trace.c
parent0d77252bc4d28b6b80b4c9b56927cbf74a4d0eb1 (diff)
leds: is31fl319x: Fix devm vs. non-devm ordering
When non-devm resources are allocated they mustn't be followed by devm allocations, otherwise it will break the tear down ordering and might lead to crashes or other bugs during ->remove() stage. Fix this by wrapping mutex_destroy() call with devm_add_action_or_reset(). Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Vincent Knecht <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions