diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-05-30 18:09:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-06-03 15:59:55 +0100 |
commit | a2fca8f2e242b3cdfed2a15084e733348ef68509 (patch) | |
tree | c26f1e92b8ccd0d4f1a041fa91c58f6935e194cb /tools/perf/scripts/python/export-to-postgresql.py | |
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 <andriy.shevchenko@linux.intel.com>
Link: https://msgid.link/r/20240530151117.1130792-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions