Re: [PATCHv2] ASoC: xilinx: formatter_pcm: use more devm in probe
Mark Brown <[email protected]>
| Newsgroups | org.kernel.vger.linux-sound,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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.
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmp8R/AACgkQJNaLcl1U h9B/6Qf9HATYH1keNl7jmNP54GvocXgMJ8FoZoYGeP5z5EYg19v1hrFQ9rXa/nFm TOqwYItNcjlth2SskjOyN40TnNPiDVlk+HAyjqValGhriqANU86f3u1Z51237FCu 35W0hxDjE7MykqMKwS941dBD+Q3FOkGv0oE7gP5ktyPSYAUcys4zplr+e7STKsC+ U5kUbGSKHmLFALlNkbFLaYhVC3gJWMqNlEQ/Lc036i7lJWp6wlRgtIqd48aWac6+ My4ZqhEn3xhm23XZOMfXDyRvyNHXaamPl2Zf289LeQNcuJQL4QjhM3kc32+8SoQ1 0FaaqAX+V/Ew4uWrAUSo/U9W6jezlw== =0u+6 -----END PGP SIGNATURE-----