usb: gadget: net2280: set all byte enables on start
Default 0 value can result in unintentional zlp for IN endpoints. Tested-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Родитель
ea86507fd2
Коммит
463e104fb0
|
@ -238,6 +238,7 @@ net2280_enable(struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc)
|
|||
tmp |= (ep->is_in << ENDPOINT_DIRECTION);
|
||||
}
|
||||
|
||||
tmp |= (4 << ENDPOINT_BYTE_COUNT);
|
||||
tmp |= usb_endpoint_num(desc);
|
||||
tmp |= (ep->ep.maxburst << MAX_BURST_SIZE);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче