summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_rt5640.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/tegra/tegra_rt5640.c')
-rw-r--r--sound/soc/tegra/tegra_rt5640.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_rt5640.c b/sound/soc/tegra/tegra_rt5640.c
index e7d58803f7c9..291ba4a631e8 100644
--- a/sound/soc/tegra/tegra_rt5640.c
+++ b/sound/soc/tegra/tegra_rt5640.c
@@ -279,7 +279,7 @@ static int tegra_rt5640_jack_notifier(struct notifier_block *self,
struct tegra_rt5640 *machine = snd_soc_card_get_drvdata(card);
struct tegra_rt5640_platform_data *pdata = machine->pdata;
enum headset_state state = BIT_NO_HEADSET;
- unsigned char status_jack;
+ unsigned char status_jack = 0;
if (jack == &tegra_rt5640_hp_jack) {
if (action) {