Re: [PATCHv2] ASoC: xilinx: formatter_pcm: use more devm in probe

From: Mark Brown

Date: Wed Aug 12 2026 - 06:23:02 EST


On Wed, Aug 12, 2026 at 07:58:23AM +0200, Michal Simek wrote:
>
>
> On 8/11/26 20:50, 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.

Please delete unneeded context from mails when replying. Doing this
makes it much easier to find your reply in the message, helping ensure
it won't be missed by people scrolling through the irrelevant quoted
material.

Attachment: signature.asc
Description: PGP signature