From c772f1bb3d1c6c4c787d0c0e5cdc24c6bf37705b Mon Sep 17 00:00:00 2001 From: Scott Peterson Date: Wed, 23 Jan 2013 15:53:01 -0800 Subject: asoc: tegra: SPI interface for TI codec Add support for accessing the TI aic3262 codec using the spi interface Change-Id: I30c72ac2bec5cd51e472f8f4e0750cd533d354a3 Signed-off-by: Scott Peterson Change-Id: I0dff26133be6c5f0ec36113a61e2b1b5b57b3339 Reviewed-on: http://git-master/r/194172 Tested-by: Vijay Mali Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit --- sound/soc/tegra/tegra_aic326x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sound') diff --git a/sound/soc/tegra/tegra_aic326x.c b/sound/soc/tegra/tegra_aic326x.c index bb7e8e34a7be..215f6e2df750 100644 --- a/sound/soc/tegra/tegra_aic326x.c +++ b/sound/soc/tegra/tegra_aic326x.c @@ -960,7 +960,7 @@ static int tegra_aic326x_event_int_spk(struct snd_soc_dapm_widget *w, return 0; gpio_set_value_cansleep(pdata->gpio_spkr_en, - SND_SOC_DAPM_EVENT_ON(event)); + !!SND_SOC_DAPM_EVENT_ON(event)); return 0; } @@ -1004,7 +1004,7 @@ static int tegra_aic326x_event_dmic(struct snd_soc_dapm_widget *w, return 0; gpio_set_value_cansleep(pdata->gpio_int_mic_en, - SND_SOC_DAPM_EVENT_ON(event)); + !!SND_SOC_DAPM_EVENT_ON(event)); return 0; } -- cgit v1.2.3