Skip to content

Commit

Permalink
ASoC: remove unneeded semicolons in wcd934x.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wan Jiabing authored and Mark Brown committed Jun 8, 2021
1 parent 640eac4 commit 3ea8a74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sound/soc/codecs/wcd934x.c
Original file line number Diff line number Diff line change
Expand Up @@ -2463,7 +2463,7 @@ static int wcd934x_micbias_control(struct snd_soc_component *component,
dev_err(component->dev, "%s: Invalid micbias number: %d\n",
__func__, micb_num);
return -EINVAL;
};
}
mutex_lock(&wcd934x->micb_lock);

switch (req) {
Expand Down Expand Up @@ -2524,7 +2524,7 @@ static int wcd934x_micbias_control(struct snd_soc_component *component,
wcd_mbhc_event_notify(wcd934x->mbhc,
WCD_EVENT_POST_DAPM_MICBIAS_2_OFF);
break;
};
}

mutex_unlock(&wcd934x->micb_lock);

Expand Down Expand Up @@ -5133,7 +5133,7 @@ static int wcd934x_codec_enable_micbias(struct snd_soc_dapm_widget *w,
case SND_SOC_DAPM_POST_PMD:
wcd934x_micbias_control(component, micb_num, MICB_DISABLE, true);
break;
};
}

return 0;
}
Expand Down

0 comments on commit 3ea8a74

Please sign in to comment.