Re: [PATCH] ASoC: cs35l56: Fix deadlock in ASP1 mixer register initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 07, 2024 at 04:16:02PM +0000, Richard Fitzgerald wrote:

> +	if (!cs35l56->asp1_mixer_widgets_initialized) {
> +		ret = cs35l56_sync_asp1_mixer_widgets_with_firmware(cs35l56);
> +		if (ret)
> +			return ret;
> +	}

Might it make sense to factor the check for init into the function since
it looks like all the callers do it and I'd expect that'd be the case
for any new ones?

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux