Re: [PATCH] ASoC: fsl-asoc-card: Fix ASRC device leak in fsl_asoc_card_probe()
From: Mark Brown
Date: Thu Sep 17 2026 - 20:54:37 EST
On Thu, Sep 17, 2026 at 04:54:30PM +0000, Wentao Liang wrote:
> of_find_device_by_node() returns the ASRC platform device with a
> reference taken, but asrc_pdev is only used during probe to set up the
> DPCM DAI links and is never released. The shared exit path already drops
> the CPU device reference, so release the ASRC one there too, covering
> both the error paths and the successful registration path.
This doesn't apply against current code, please check and resend.
Attachment:
signature.asc
Description: PGP signature