mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
usb: gadget: udc: missing curly braces
There were curly braces intended here. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6aeab47752
commit
016040268c
1 changed files with 2 additions and 1 deletions
|
|
@ -457,10 +457,11 @@ 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);
|
||||
dword2 |= BD_LTF;
|
||||
/* 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);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
if (!req->ep->dir)
|
||||
dword3 |= BD_ISP;
|
||||
|
|
|
|||
Loading…
Reference in a new issue