Skip to content

Commit 1ac9b14

Browse files
jfischer-nokartben
authored andcommitted
drivers: udc: fix it82xx2 and numaker drivers compilation
The dev argument is missing. Introduced in the commit 1cccf28 ("drivers: usb: udc: Reduce unnecessary ep config lookups"). Signed-off-by: Johann Fischer <[email protected]>
1 parent 2f55dc8 commit 1ac9b14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/usb/udc/udc_it82xx2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ static void xfer_work_handler(const struct device *dev)
12151215
}
12161216

12171217
if (evt.ep != USB_CONTROL_EP_OUT && !udc_ep_is_busy(ep_cfg)) {
1218-
if (work_handler_xfer_next(ep_cfg) == 0) {
1218+
if (work_handler_xfer_next(dev, ep_cfg) == 0) {
12191219
udc_ep_set_busy(ep_cfg, true);
12201220
}
12211221
}

drivers/usb/udc/udc_numaker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ static int numaker_usbd_msg_handle_out(const struct device *dev, struct numaker_
961961
__ASSERT_NO_MSG(msg->type == NUMAKER_USBD_MSG_TYPE_OUT);
962962

963963
ep = msg->out.ep;
964-
ep_cfg = udc_get_ep_cfg(ep);
964+
ep_cfg = udc_get_ep_cfg(dev, ep);
965965

966966
udc_ep_set_busy(ep_cfg, false);
967967

0 commit comments

Comments
 (0)