asoc: tegra: fix compilation error in max98095
Rhyland Klein [Thu, 2 Aug 2012 19:27:53 +0000 (15:27 -0400)]
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>

sound/soc/tegra/tegra_max98095.c

index f77c327..1d03980 100644 (file)
@@ -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) {