linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] usb: gadget: f_uac1: fixing inconsistent indenting
@ 2021-08-17 10:05 Pavel Hofman
  2021-08-17 12:05 ` Felipe Balbi
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Hofman @ 2021-08-17 10:05 UTC (permalink / raw)
  To: linux-usb; +Cc: Pavel Hofman, Ruslan Bilovol, Felipe Balbi

Fixing inconsistent indenting identified by kernel test
robot.

Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
---
 drivers/usb/gadget/function/f_uac1.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/usb/gadget/function/f_uac1.c b/drivers/usb/gadget/function/f_uac1.c
index 3b3db1a8df75..5b3502df4e13 100644
--- a/drivers/usb/gadget/function/f_uac1.c
+++ b/drivers/usb/gadget/function/f_uac1.c
@@ -1084,24 +1084,24 @@ static int f_audio_validate_opts(struct g_audio *audio, struct device *dev)
 
 	if (opts->p_volume_max <= opts->p_volume_min) {
 		dev_err(dev, "Error: incorrect playback volume max/min\n");
-			return -EINVAL;
+		return -EINVAL;
 	} else if (opts->c_volume_max <= opts->c_volume_min) {
 		dev_err(dev, "Error: incorrect capture volume max/min\n");
-			return -EINVAL;
+		return -EINVAL;
 	} else if (opts->p_volume_res <= 0) {
 		dev_err(dev, "Error: negative/zero playback volume resolution\n");
-			return -EINVAL;
+		return -EINVAL;
 	} else if (opts->c_volume_res <= 0) {
 		dev_err(dev, "Error: negative/zero capture volume resolution\n");
-			return -EINVAL;
+		return -EINVAL;
 	}
 
 	if ((opts->p_volume_max - opts->p_volume_min) % opts->p_volume_res) {
 		dev_err(dev, "Error: incorrect playback volume resolution\n");
-			return -EINVAL;
+		return -EINVAL;
 	} else if ((opts->c_volume_max - opts->c_volume_min) % opts->c_volume_res) {
 		dev_err(dev, "Error: incorrect capture volume resolution\n");
-			return -EINVAL;
+		return -EINVAL;
 	}
 
 	return 0;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] usb: gadget: f_uac1: fixing inconsistent indenting
  2021-08-17 10:05 [PATCH v2] usb: gadget: f_uac1: fixing inconsistent indenting Pavel Hofman
@ 2021-08-17 12:05 ` Felipe Balbi
  0 siblings, 0 replies; 2+ messages in thread
From: Felipe Balbi @ 2021-08-17 12:05 UTC (permalink / raw)
  To: Pavel Hofman; +Cc: linux-usb, Ruslan Bilovol


Pavel Hofman <pavel.hofman@ivitera.com> writes:

> Fixing inconsistent indenting identified by kernel test
> robot.
>
> Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>

Acked-By Felipe Balbi <balbi@kernel.org>

-- 
balbi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-17 12:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17 10:05 [PATCH v2] usb: gadget: f_uac1: fixing inconsistent indenting Pavel Hofman
2021-08-17 12:05 ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).