diff options
author | Scott Peterson <speterson@nvidia.com> | 2013-01-23 15:53:01 -0800 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2013-01-27 23:59:24 -0800 |
commit | c772f1bb3d1c6c4c787d0c0e5cdc24c6bf37705b (patch) | |
tree | 29f9ac21f42d4da351624c2e23dadeca30c11847 /sound | |
parent | 767b28be1063c7057c71bbe999dc9dbc45651462 (diff) |
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 <speterson@nvidia.com>
Change-Id: I0dff26133be6c5f0ec36113a61e2b1b5b57b3339
Reviewed-on: http://git-master/r/194172
Tested-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/tegra/tegra_aic326x.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |