diff options
| author | Johan Hovold <johan@kernel.org> | 2026-07-06 08:56:14 +0200 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2026-07-08 10:59:35 -0600 |
| commit | 22f9efb3ae07f966a1901d929d16df1388cce65c (patch) | |
| tree | 574f88954f50b8c8ee23e0fca426b9348bd8cb3e /tools/perf/scripts/python/stackcollapse.py | |
| parent | f4bb5a75bba373fb62864476b79f360a2b901c04 (diff) | |
remoteproc: scp: Fix device reference leak on failed lookup
Make sure to drop the reference taken to the SCP device when attempting
to look up its driver data before the driver has been bound.
Note that holding a reference to a device does not prevent its driver
data from going away.
Fixes: 63c13d61eafe ("remoteproc/mediatek: add SCP support for mt8183")
Cc: stable@vger.kernel.org # 5.6
Cc: Erin Lo <erin.lo@mediatek.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20260706065614.389412-1-johan@kernel.org
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
