[alsa-devel] [PATCH v2 7/9] ASoC: omap-abe-twl6040: Configure card according to platform data

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Dec 22 14:08:38 CET 2011


On Thu, Dec 22, 2011 at 02:42:46PM +0200, Peter Ujfalusi wrote:

> +#define twl6040_disconnect_pin(dapm, connected, pin)	\
> +	if (!connected)					\
> +		snd_soc_dapm_disable_pin(dapm, pin);
> +

This should be a function for legibility and type safety.


More information about the Alsa-devel mailing list