summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_max98088.c
diff options
context:
space:
mode:
authorNikesh Oswal <noswal@nvidia.com>2012-03-07 13:09:39 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-03-13 04:04:51 -0700
commitba7ae3241cc9608e7696885806793e36a37dcb75 (patch)
tree810261d72ba252b13510e9d9844885ecdf023c38 /sound/soc/tegra/tegra_max98088.c
parentf82714f7ad89d645817d4df5332e6968b09dbaa6 (diff)
asoc: machine: add api to query voice call state
Change-Id: I0b2b50c007d9e7b722b2c4bbc0282c51a8d18b00 Reviewed-on: http://git-master/r/88239 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'sound/soc/tegra/tegra_max98088.c')
-rw-r--r--sound/soc/tegra/tegra_max98088.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sound/soc/tegra/tegra_max98088.c b/sound/soc/tegra/tegra_max98088.c
index 61f45936e440..1a4650104c7a 100644
--- a/sound/soc/tegra/tegra_max98088.c
+++ b/sound/soc/tegra/tegra_max98088.c
@@ -82,7 +82,7 @@ const char *tegra_max98088_i2s_dai_name[TEGRA30_NR_I2S_IFC] = {
};
#endif
-static int g_is_call_mode;
+extern int g_is_call_mode;
struct tegra_max98088 {
struct tegra_asoc_utils_data util_data;
@@ -98,15 +98,6 @@ struct tegra_max98088 {
struct snd_soc_card *pcard;
};
-bool tegra_is_voice_call_active()
-{
- if (g_is_call_mode)
- return true;
- else
- return false;
-}
-EXPORT_SYMBOL_GPL(tegra_is_voice_call_active);
-
static int tegra_call_mode_info(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_info *uinfo)
{