Re: [PATCHv4] ASoC: xilinx: formatter_pcm: use more devm in probe
From: Mark Brown
Date: Mon Aug 24 2026 - 07:41:41 EST
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.
Attachment:
signature.asc
Description: PGP signature