Re: Re: [PATCH] ASoC: fsi: Add check for clk_enable

From: Jiasheng Jiang <hidden>
Date: 2022-03-02 03:12:18
Also in: alsa-devel, bpf, lkml

On Tue, Mar 01, 2022 at 08:44:12PM +0800, Mark Brown wrote:
quoted
+err:
+	clk_disable(clock->xck);
+	clk_disable(clock->ick);
+	clk_disable(clock->div);
You need separate labels for each enable so that we don't end up
disabling clocks we didn't enable, that would also be a bug.
Thanks, I have submitted a v2 to fix it.

Jiang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help