summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRhyland Klein <rklein@nvidia.com>2012-08-02 15:27:53 -0400
committerSimone Willett <swillett@nvidia.com>2012-08-03 14:01:34 -0700
commitc5dea888253285e23107585805b7728ebe46e17e (patch)
tree6824789a2fc3f438623254d9e75ac72e68928088
parent73c300b0f598a63d8557819614d62c0c7ea8d891 (diff)
asoc: tegra: fix compilation error in max98095
change 4b70cc537cadc787b748c7c246d703a240b08985 introduced a compilation error. Signed-off-by: Rhyland Klein <rklein@nvidia.com> Change-Id: I59e54537d9bb4b30e807478e5b7634db0813a739 Reviewed-on: http://git-master/r/120443 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ankit Gupta (Engrg-SW) <ankitgupta@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
-rw-r--r--sound/soc/tegra/tegra_max98095.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_max98095.c b/sound/soc/tegra/tegra_max98095.c
index f77c327b4b00..1d03980f276f 100644
--- a/sound/soc/tegra/tegra_max98095.c
+++ b/sound/soc/tegra/tegra_max98095.c
@@ -157,7 +157,7 @@ static int tegra_max98095_hw_params(struct snd_pcm_substream *substream,
}
i2s_daifmt = SND_SOC_DAIFMT_NB_NF;
- i2s_daifmt |= pdata->i2s_param[HIFI_CODEC].is_i2s_master; ?
+ i2s_daifmt |= pdata->i2s_param[HIFI_CODEC].is_i2s_master ?
SND_SOC_DAIFMT_CBS_CFS : SND_SOC_DAIFMT_CBM_CFM;
switch (pdata->i2s_param[HIFI_CODEC].i2s_mode) {