ASoC: Remove unnecessary semicolons
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
ead9b9199c
commit
ef995e3a91
4 changed files with 3 additions and 4 deletions
|
@ -1591,7 +1591,7 @@ static int wm8904_hw_params(struct snd_pcm_substream *substream,
|
||||||
- wm8904->fs);
|
- wm8904->fs);
|
||||||
for (i = 1; i < ARRAY_SIZE(clk_sys_rates); i++) {
|
for (i = 1; i < ARRAY_SIZE(clk_sys_rates); i++) {
|
||||||
cur_val = abs((wm8904->sysclk_rate /
|
cur_val = abs((wm8904->sysclk_rate /
|
||||||
clk_sys_rates[i].ratio) - wm8904->fs);;
|
clk_sys_rates[i].ratio) - wm8904->fs);
|
||||||
if (cur_val < best_val) {
|
if (cur_val < best_val) {
|
||||||
best = i;
|
best = i;
|
||||||
best_val = cur_val;
|
best_val = cur_val;
|
||||||
|
|
|
@ -736,7 +736,6 @@ static int wm8940_probe(struct snd_soc_codec *codec)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int wm8940_remove(struct snd_soc_codec *codec)
|
static int wm8940_remove(struct snd_soc_codec *codec)
|
||||||
|
|
|
@ -1227,7 +1227,7 @@ static int wm8993_hw_params(struct snd_pcm_substream *substream,
|
||||||
- wm8993->fs);
|
- wm8993->fs);
|
||||||
for (i = 1; i < ARRAY_SIZE(clk_sys_rates); i++) {
|
for (i = 1; i < ARRAY_SIZE(clk_sys_rates); i++) {
|
||||||
cur_val = abs((wm8993->sysclk_rate /
|
cur_val = abs((wm8993->sysclk_rate /
|
||||||
clk_sys_rates[i].ratio) - wm8993->fs);;
|
clk_sys_rates[i].ratio) - wm8993->fs);
|
||||||
if (cur_val < best_val) {
|
if (cur_val < best_val) {
|
||||||
best = i;
|
best = i;
|
||||||
best_val = cur_val;
|
best_val = cur_val;
|
||||||
|
|
|
@ -119,7 +119,7 @@ static void calibrate_dc_servo(struct snd_soc_codec *codec)
|
||||||
switch (hubs->dcs_readback_mode) {
|
switch (hubs->dcs_readback_mode) {
|
||||||
case 0:
|
case 0:
|
||||||
reg_l = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_1)
|
reg_l = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_1)
|
||||||
& WM8993_DCS_INTEG_CHAN_0_MASK;;
|
& WM8993_DCS_INTEG_CHAN_0_MASK;
|
||||||
reg_r = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_2)
|
reg_r = snd_soc_read(codec, WM8993_DC_SERVO_READBACK_2)
|
||||||
& WM8993_DCS_INTEG_CHAN_1_MASK;
|
& WM8993_DCS_INTEG_CHAN_1_MASK;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue