[PATCHv2] ASoC: xilinx: formatter_pcm: use more devm in probe
Michal Simek
michal.simek at amd.com
Wed Aug 12 04:22:33 PDT 2026
Hi Mark.
On 8/12/26 12:16, Mark Brown wrote:
> 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.
Do you mean patch content in this case?
Thanks,
Michal
More information about the linux-arm-kernel
mailing list