Skip to content

Commit

Permalink
usb: gadget: f_uac2: clean up some inconsistent indenting
Browse files Browse the repository at this point in the history
commit 18d6b39 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>
  • Loading branch information
Colin Ian King authored and Greg Kroah-Hartman committed Sep 20, 2022
1 parent 07609e8 commit fa7e026
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions drivers/usb/gadget/function/f_uac2.c
Original file line number Diff line number Diff line change
Expand Up @@ -760,26 +760,26 @@ 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);
}

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);
Expand Down

0 comments on commit fa7e026

Please sign in to comment.