[alsa-devel] [PATCH v2 2/3] ASoC: Intel - use control components to describe card config

Jaroslav Kysela perex at perex.cz
Wed Nov 20 10:44:50 CET 2019


Dne 20. 11. 19 v 8:28 Jaroslav Kysela napsal(a):

> diff --git a/sound/soc/intel/boards/bytcht_es8316.c b/sound/soc/intel/boards/bytcht_es8316.c

...

> +	/* register the soc card */
>   	snd_soc_card_set_drvdata(&byt_cht_es8316_card, priv);
>   
>   	ret = devm_snd_soc_register_card(dev, &byt_cht_es8316_card);
>   	if (ret) {
>   		gpiod_put(priv->speaker_en_gpio);
>   		dev_err(dev, "snd_soc_register_card failed: %d\n", ret);
> +
>   		return ret;
>   	}
>   	platform_set_drvdata(pdev, &byt_cht_es8316_card);

Please, remove this extra new line when you apply the patch.

					Thanks,
						Jaroslav

-- 
Jaroslav Kysela <perex at perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.


More information about the Alsa-devel mailing list