[alsa-devel] [PATCH 3/7] ASoC: Tegra: Harmony: Support the internal speaker

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Jan 31 14:14:30 CET 2011


On Fri, Jan 28, 2011 at 02:26:37PM -0700, Stephen Warren wrote:

> +	gpio_set_value_cansleep(pdata->gpio_spkr_en,
> +				!!SND_SOC_DAPM_EVENT_ON(event));

GPIOs should accept C logical values - if you need the !! there's a bug
in the GPIO driver.


More information about the Alsa-devel mailing list