bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Re: [PATCH] ASoC: fsi: Add check for clk_enable
@ 2022-03-02  3:11 Jiasheng Jiang
  0 siblings, 0 replies; only message in thread
From: Jiasheng Jiang @ 2022-03-02  3:11 UTC (permalink / raw)
  To: broonie
  Cc: lgirdwood, perex, tiwai, ast, daniel, andrii, kafai,
	songliubraving, yhs, john.fastabend, kpsingh, f.suligoi,
	kuninori.morimoto.gx, alsa-devel, linux-kernel, netdev, bpf,
	Jiasheng Jiang

On Tue, Mar 01, 2022 at 08:44:12PM +0800, Mark Brown wrote:
>> +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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-02  3:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02  3:11 Re: [PATCH] ASoC: fsi: Add check for clk_enable Jiasheng Jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).