Re: [PATCH] soc: fsl: cpm1: tsa: Fix clock leak in tsa_of_parse_tdms()

From: Christophe Leroy (CS GROUP)

Date: Fri Sep 18 2026 - 04:45:07 EST



On Thu, 17 Sep 2026 15:27:19 +0000, Wentao Liang wrote:
> The error cleanup loop puts l1rsync_clk and l1rclk_clk a second time
> and never puts l1tsync_clk or l1tclk_clk, because the branches that
> guard the transmit clocks use the receive clock field names.
>
> Use the matching field in each branch so every clock acquired by
> tsa_of_parse_tdms() is released exactly once.
>
> [...]

Applied, thanks!

[1/1] soc: fsl: cpm1: tsa: Fix clock leak in tsa_of_parse_tdms()
commit: 7b3b0598c00e67f2df85d0b4cd99eaa3be6c9bfd

Best regards,
--
Christophe Leroy (CS GROUP) <chleroy@xxxxxxxxxx>