diff options
author | Christophe JAILLET <[email protected]> | 2021-10-16 08:44:28 +0200 |
---|---|---|
committer | Mathieu Poirier <[email protected]> | 2021-11-17 09:36:27 -0700 |
commit | 4da96175014be67c846fd274eace08066e525d75 (patch) | |
tree | 7cc09779ddf861846c0dc00d14fd31f8adc89c17 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7efb14256dd306407cf8388a46a4a6c5c5c85774 (diff) |
remoteproc: imx_rproc: Fix a resource leak in the remove function
'priv->workqueue' is destroyed in the error handling path of the probe but
not in the remove function.
Add the missing call to release some resources.
Cc: stable <[email protected]>
Fixes: 2df7062002d0 ("remoteproc: imx_proc: enable virtio/mailbox")
Signed-off-by: Christophe JAILLET <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Tested-by: Peng Fan <[email protected]>
Link: https://lore.kernel.org/r/d28ca94a4031bd7297d47c2164e18885a5a6ec19.1634366546.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions