diff options
author | Andy Shevchenko <[email protected]> | 2024-05-30 18:09:57 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-06-03 15:59:55 +0100 |
commit | a2fca8f2e242b3cdfed2a15084e733348ef68509 (patch) | |
tree | c26f1e92b8ccd0d4f1a041fa91c58f6935e194cb /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 22aaae482044b8bfa11f2c2d5725f4cd1b3064f9 (diff) |
spi: pxa2xx: Wrap pxa_ssp_request() to be device managed resource
In the error path or remove path the reference counter in PXA SSP driver
may be dropped before the other resources, that were allocated after
bumbing the reference counter. This breaks reversed order of freeing and
might have an undesired side effects. Prevent this from happening by
wrapping pxa_ssp_request() to be device managed resource.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions