Skip to content

Commit 1bc2208

Browse files
pavhofmangregkh
authored andcommitted
usb: gadget: f_uac1: fixing inconsistent indenting
Fixing inconsistent indenting identified by kernel test robot. Signed-off-by: Pavel Hofman <[email protected]> Acked-By: Felipe Balbi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent e77939e commit 1bc2208

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/usb/gadget/function/f_uac1.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,24 +1084,24 @@ static int f_audio_validate_opts(struct g_audio *audio, struct device *dev)
10841084

10851085
if (opts->p_volume_max <= opts->p_volume_min) {
10861086
dev_err(dev, "Error: incorrect playback volume max/min\n");
1087-
return -EINVAL;
1087+
return -EINVAL;
10881088
} else if (opts->c_volume_max <= opts->c_volume_min) {
10891089
dev_err(dev, "Error: incorrect capture volume max/min\n");
1090-
return -EINVAL;
1090+
return -EINVAL;
10911091
} else if (opts->p_volume_res <= 0) {
10921092
dev_err(dev, "Error: negative/zero playback volume resolution\n");
1093-
return -EINVAL;
1093+
return -EINVAL;
10941094
} else if (opts->c_volume_res <= 0) {
10951095
dev_err(dev, "Error: negative/zero capture volume resolution\n");
1096-
return -EINVAL;
1096+
return -EINVAL;
10971097
}
10981098

10991099
if ((opts->p_volume_max - opts->p_volume_min) % opts->p_volume_res) {
11001100
dev_err(dev, "Error: incorrect playback volume resolution\n");
1101-
return -EINVAL;
1101+
return -EINVAL;
11021102
} else if ((opts->c_volume_max - opts->c_volume_min) % opts->c_volume_res) {
11031103
dev_err(dev, "Error: incorrect capture volume resolution\n");
1104-
return -EINVAL;
1104+
return -EINVAL;
11051105
}
11061106

11071107
return 0;

0 commit comments

Comments
 (0)