Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01604026 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

usb: gadget: udc: missing curly braces



There were curly braces intended here.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6aeab477
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -457,11 +457,12 @@ static int setup_bd_list_xfr(struct bdc *bdc, struct bdc_req *req, int num_bds)
			dword3 |= BD_SOT|BD_SBF|(tfs<<BD_TFS_SHIFT);
			dword3 |= BD_SOT|BD_SBF|(tfs<<BD_TFS_SHIFT);
			dword2 |= BD_LTF;
			dword2 |= BD_LTF;
			/* format of first bd for ep0 is different than other */
			/* format of first bd for ep0 is different than other */
			if (ep->ep_num == 1)
			if (ep->ep_num == 1) {
				ret = setup_first_bd_ep0(bdc, req, &dword3);
				ret = setup_first_bd_ep0(bdc, req, &dword3);
				if (ret)
				if (ret)
					return ret;
					return ret;
			}
			}
		}
		if (!req->ep->dir)
		if (!req->ep->dir)
			dword3 |= BD_ISP;
			dword3 |= BD_ISP;