diff options
| author | 2026-09-17 09:39:23 +0000 | |
|---|---|---|
| committer | 2026-10-11 20:09:05 -0500 | |
| commit | 18e3e979826795b62e8916743bec4de660e7cb22 (patch) | |
| tree | 8c05c432ac7fef309cf1cb7c5b2edc7268e35945 /scripts/Makefile.thinlto | |
| parent | mailbox: bcm74110: Cap rx_svc_init_list growth to prevent PMC-induced OOM (diff) | |
mailbox: mtk-cmdq: Fix runtime PM leak in cmdq_mbox_flush()
pm_runtime_get_sync() leaves the runtime PM usage counter incremented
even when it fails, but cmdq_mbox_flush() returns the error without
dropping it. The same happens when the GCE thread does not drain in
time and the function bails out with -EFAULT.
Undo the reference on both error paths.
Fixes: b0524f7c9635 ("mailbox: mediatek: implement flush function")
Cc: stable@vger.kernel.org
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
