Re: [PATCHv4] ASoC: xilinx: formatter_pcm: use more devm in probe
Rosen Penev <[email protected]>
| Newsgroups | gmane.linux.sound,gmane.linux.ports.arm.kernel,gmane.linux.kernel |
|---|---|
| Message-ID | <CAKxU2N_Jt2kfV0mpLTa7s8sEYBgk=2L8_SvdRPWjgf-_QMtEnA@mail.gmail.com> |
On Mon, Aug 24, 2026 at 4:41 AM Mark Brown <[email protected]> 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.