summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-09-17 09:39:23 +0000
committerJassi Brar <jassisinghbrar@gmail.com>2026-10-11 20:09:05 -0500
commit18e3e979826795b62e8916743bec4de660e7cb22 (patch)
tree8c05c432ac7fef309cf1cb7c5b2edc7268e35945 /include/uapi/linux
parenteb2ee504757674450a5e03e36e6b9340f064e599 (diff)
downloadlinux-next-18e3e979826795b62e8916743bec4de660e7cb22.tar.gz
linux-next-18e3e979826795b62e8916743bec4de660e7cb22.zip
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 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions