mirror of https://gitee.com/openkylin/linux.git
ASoC: remove unneeded semicolons in wcd934x.c
Fix following coccicheck warning: ./sound/soc/codecs/wcd934x.c:5136:2-3: Unneeded semicolon ./sound/soc/codecs/wcd934x.c:2466:2-3: Unneeded semicolon ./sound/soc/codecs/wcd934x.c:2527:2-3: Unneeded semicolon Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Link: https://lore.kernel.org/r/20210608030656.24052-1-wanjiabing@vivo.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
640eac4c84
commit
3ea8a74598
|
@ -2463,7 +2463,7 @@ static int wcd934x_micbias_control(struct snd_soc_component *component,
|
||||||
dev_err(component->dev, "%s: Invalid micbias number: %d\n",
|
dev_err(component->dev, "%s: Invalid micbias number: %d\n",
|
||||||
__func__, micb_num);
|
__func__, micb_num);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
};
|
}
|
||||||
mutex_lock(&wcd934x->micb_lock);
|
mutex_lock(&wcd934x->micb_lock);
|
||||||
|
|
||||||
switch (req) {
|
switch (req) {
|
||||||
|
@ -2524,7 +2524,7 @@ static int wcd934x_micbias_control(struct snd_soc_component *component,
|
||||||
wcd_mbhc_event_notify(wcd934x->mbhc,
|
wcd_mbhc_event_notify(wcd934x->mbhc,
|
||||||
WCD_EVENT_POST_DAPM_MICBIAS_2_OFF);
|
WCD_EVENT_POST_DAPM_MICBIAS_2_OFF);
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
|
|
||||||
mutex_unlock(&wcd934x->micb_lock);
|
mutex_unlock(&wcd934x->micb_lock);
|
||||||
|
|
||||||
|
@ -5133,7 +5133,7 @@ static int wcd934x_codec_enable_micbias(struct snd_soc_dapm_widget *w,
|
||||||
case SND_SOC_DAPM_POST_PMD:
|
case SND_SOC_DAPM_POST_PMD:
|
||||||
wcd934x_micbias_control(component, micb_num, MICB_DISABLE, true);
|
wcd934x_micbias_control(component, micb_num, MICB_DISABLE, true);
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue