[PATCH] media: mediatek: vcodec: Fix a reference leak in mtk_vcodec_fw_vpu_init()

Markus Elfring Markus.Elfring at web.de
Mon Sep 15 08:35:22 PDT 2025


…
> Fix this by calling put_device() on fw_pdev->dev before returning
> on the error path.

How do you think about to increase the application of scope-based resource management?

Regards,
Markus



More information about the linux-arm-kernel mailing list