summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_wm8753.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/tegra/tegra_wm8753.c')
-rw-r--r--sound/soc/tegra/tegra_wm8753.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_wm8753.c b/sound/soc/tegra/tegra_wm8753.c
index 94268dba5016..62c1c056a619 100644
--- a/sound/soc/tegra/tegra_wm8753.c
+++ b/sound/soc/tegra/tegra_wm8753.c
@@ -63,6 +63,8 @@
#define GPIO_INT_MIC_EN BIT(2)
#define GPIO_EXT_MIC_EN BIT(3)
+extern int g_is_call_mode;
+
struct tegra_wm8753 {
struct tegra_asoc_utils_data util_data;
struct tegra_wm8753_platform_data *pdata;
@@ -523,6 +525,7 @@ static int tegra_call_mode_put(struct snd_kcontrol *kcontrol,
}
machine->is_call_mode = is_call_mode_new;
+ g_is_call_mode = machine->is_call_mode;
return 1;
}