]> git.itanic.dy.fi Git - linux-stable/commitdiff
usb: gadget: f_uac2: clean up some inconsistent indenting
authorColin Ian King <colin.king@canonical.com>
Thu, 2 Sep 2021 22:47:58 +0000 (23:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Sep 2022 10:39:46 +0000 (12:39 +0200)
commit 18d6b39ee8959c6e513750879b52fd215533cc87 upstream.

There are bunch of statements where the indentation is not correct,
clean these up.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210902224758.57600-1-colin.king@canonical.com
Signed-off-by: Jack Pham <quic_jackp@quicinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/f_uac2.c

index 5226a47b68fda7889ec79521114ddd329469e8e3..4072cde4f0c9bfb0d65bff8f0ca9b528b892eec7 100644 (file)
@@ -760,15 +760,15 @@ static void setup_headers(struct f_uac2_opts *opts,
                headers[i++] = USBDHDR(&out_clk_src_desc);
                headers[i++] = USBDHDR(&usb_out_it_desc);
 
-    if (FUOUT_EN(opts))
-      headers[i++] = USBDHDR(out_feature_unit_desc);
-  }
+               if (FUOUT_EN(opts))
+                       headers[i++] = USBDHDR(out_feature_unit_desc);
+       }
 
        if (EPIN_EN(opts)) {
                headers[i++] = USBDHDR(&io_in_it_desc);
 
-    if (FUIN_EN(opts))
-      headers[i++] = USBDHDR(in_feature_unit_desc);
+               if (FUIN_EN(opts))
+                       headers[i++] = USBDHDR(in_feature_unit_desc);
 
                headers[i++] = USBDHDR(&usb_in_ot_desc);
        }
@@ -776,10 +776,10 @@ static void setup_headers(struct f_uac2_opts *opts,
        if (EPOUT_EN(opts))
                headers[i++] = USBDHDR(&io_out_ot_desc);
 
-  if (FUOUT_EN(opts) || FUIN_EN(opts))
-      headers[i++] = USBDHDR(ep_int_desc);
+       if (FUOUT_EN(opts) || FUIN_EN(opts))
+               headers[i++] = USBDHDR(ep_int_desc);
 
-  if (EPOUT_EN(opts)) {
+       if (EPOUT_EN(opts)) {
                headers[i++] = USBDHDR(&std_as_out_if0_desc);
                headers[i++] = USBDHDR(&std_as_out_if1_desc);
                headers[i++] = USBDHDR(&as_out_hdr_desc);