[alsa-devel] [PATCH resend] ASoC: regulator notifier registration should be managed

Mark Brown broonie at kernel.org
Fri Feb 8 14:10:41 CET 2019


On Fri, Feb 08, 2019 at 08:40:17AM +0100, Guennadi Liakhovetski wrote:

This doesn't build:

>  	if (ret) {
>  		dev_err(component->dev, "Failed to enable supplies: %d\n", ret);
> -		goto err_reg_get;
> +		retturn ret;
>  	}

sound/soc/codecs/wm8995.c: In function ‘wm8995_probe’:
sound/soc/codecs/wm8995.c:2043:3: error: unknown type name ‘retturn’
   retturn ret;
   ^~~~~~~
sound/soc/codecs/wm8995.c:2043:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
sound/soc/codecs/wm8995.c:2043:11: warning: unused variable ‘ret’ [-Wunused-variable]
   retturn ret;
           ^~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20190208/e48a233b/attachment.sig>


More information about the Alsa-devel mailing list