Merge "ASoC: msmcobalt: Initialize variable to default value"

This commit is contained in:
Linux Build Service Account 2016-11-03 06:23:56 -07:00 committed by Gerrit - the friendly Code Review server
commit 71f578efa8

View file

@ -2994,7 +2994,7 @@ static bool msm_swap_gnd_mic(struct snd_soc_codec *codec)
struct snd_soc_card *card = codec->component.card;
struct msm_asoc_mach_data *pdata =
snd_soc_card_get_drvdata(card);
int value;
int value = 0;
if (pdata->us_euro_gpio_p) {
value = msm_cdc_pinctrl_get_state(pdata->us_euro_gpio_p);