summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_rt5640.c
diff options
context:
space:
mode:
authorSanjay Singh Rawat <srawat@nvidia.com>2012-04-16 14:43:57 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-04-19 04:49:15 -0700
commit8059ef65ae2efe2535301b9b26636c9fe6b4954e (patch)
treeea18cdb6863b12ef94aa737196c1408b5f2ca9fc /sound/soc/tegra/tegra_rt5640.c
parentae081534395f749f880ce4f3ad72e65aa9a1cf72 (diff)
ASoC: resolve compilation time warnings
bug 949219 Change-Id: I52969e8dd1a5ed4dc76ac360ec08b0afb18cd4a5 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92833 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
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) {