Re: [PATCHv4] ASoC: xilinx: formatter_pcm: use more devm in probe
From: Rosen Penev
Date: Mon Aug 24 2026 - 16:31:46 EST
On Mon, Aug 24, 2026 at 4:41 AM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> On Sat, Aug 22, 2026 at 10:00:12PM -0700, Rosen Penev wrote:
> > Use devm_clk_get_enabled() to let the clock be enabled automatically
> > and cleaned up on unbind, dropping the manual clk_prepare_enable() and
> > clk_disable_unprepare() calls in probe and remove. As a result, move the
> > clk struct member into probe, which is the only place it's used.
>
> This doesn't apply against current code, please check and resend.
I resent a version that I checked against master as well as linux-next.